Jump to content

Landing page code

Go to solution Solved by Beyondspace,

Recommended Posts

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

Link to comment
  • Solution
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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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

Edited by bangank36
update the backslash

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
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

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.