Jump to content

Landing page code

Recommended Posts

Posted

Site URL: http://raccontamilitalia.com

Hi guys!! I have recently created a landing page with Squarespace. I have a code to fill in in order to remove the header and the footer (This code was given to me by the professionals who are helping me to launch my business) but somehow it doesn't work. Does it have to do with the template I 've chosen for my landing page and my whole web site?
How can I get a suitable code? 

Thanks in advance!! I am not familiar at all with this kind of processes.

Micol

  • Replies 10
  • Views 1.1k
  • Created
  • Last Reply
Posted
22 minutes ago, micol1988 said:

Site URL: http://raccontamilitalia.com

Hi guys!! I have recently created a landing page with Squarespace. I have a code to fill in in order to remove the header and the footer (This code was given to me by the professionals who are helping me to launch my business) but somehow it doesn't work. Does it have to do with the template I 've chosen for my landing page and my whole web site?
How can I get a suitable code? 

Thanks in advance!! I am not familiar at all with this kind of processes.

Micol

Which is the code you used for the purpose?

Also what is the site password

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

My site password is ItaliaAmoreMio

the code is 

<style> 
 .Header-nav { 
 display: none; 

 footer.Footer { 
 display: none !important; } 
</style>

Posted
On 11/12/2021 at 6:59 PM, micol1988 said:

My site password is ItaliaAmoreMio

the code is 

<style> 
 .Header-nav { 
 display: none; 

 footer.Footer { 
 display: none !important; } 
</style>

You can try adding to Home > Design > Custom Css

/*hide header and footer*/
#collection-617c63e1f7ae88529a66739f #header{
  display: none;
}

#collection-617c63e1f7ae88529a66739f #footer-sections {
  display: none;
}

You can change the id #collection-617c63e1f7ae88529a66739f with the page id of your page to set display for a specific page

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted

To find the right page id you can install and use the Squarespace ID Finder extension

Here is how to use it: http://recordit.co/qwnj09oNCa

Hope that it can help you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
2 hours ago, micol1988 said:

Unfortunately I still haven't solved the problem. Is there a way I can hide the header?

Hi, you can try removing //hide header and footer or replacing it with /*hide header and footer*/

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

Posted
55 minutes ago, bangank36 said:

Hi, you can try removing //hide header and footer or replacing it with /*hide header and footer*/

Thanks for your help, really!! However, it's unfortunately still there *sigh* :((

Schermata 2021-11-21 alle 21.46.48.png

Posted
20 minutes ago, micol1988 said:

Thanks for your help, really!! However, it's unfortunately still there *sigh* :((

Schermata 2021-11-21 alle 21.46.48.png

I can see there are 2 #, pls remove one and check your site again

image.png.30186b006b7acccb342350c6f3d3b451.png

In addition of that, make sure you put the codes in right place: Home > Design > Custom Css

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> No-code customisations for Squarespace

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.