Jump to content

Landing page code

Recommended Posts

  • Replies 9
  • Views 1.1k
  • Created
  • Last Reply
5 hours ago, tuanphan said:

Add to Home > design > Custom CSS


body#collection-5e8d89cb813db05894016912 
{ 
  header#header {
      display: none;
  }
  footer#footer-sections {
      display: none;
  }
}

 

Thank you for your response.  Unfortunately that didn't make all of the sections disappear.

Link to comment

Try adding to Page Settings > Advanced > Header

<style>
  header#header {
    display: none;
}
  footer#footer-sections {
    display: none;
}
</style>

This will hide header, footer. With body content, depend your block, need other code

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 months later...

1792814529_ScreenShot2020-09-02at7_29_56AM.thumb.png.71cf6ce7b25c58e0940420fe82ef7836.png

@IXStudio Hey, internet friend! One last question here. I tried applying the same site-wrapper code to this page as I did on that other landing page you helped me with and it's not working there in the same way. Do you know what I'm doing wrong here?

Again, site pw is "branding".

Here's the code I have installed, though I'm sure you can inspect it:

<html>
  <head>
    <meta property="og:url" content="https://brandistanley636.lpages.co/fbs-landing/" />
    <link rel="opengraph" href="https://brandistanley636.lpages.co/fbs-landing/" />
    <script src="//brandistanley636.lpages.co/_/js/fbs-landing/"></script>
  </head>
  <style type="text/css">
  header, footer {display: none;}
section {padding-top: 0  !important;}
      div#siteWrapper {
    min-height: 0 !important;
}
</style>
</html>

The bottom of the page should just look like the attached image.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.