Jump to content

Multiple Custom CSS on Landing Page

Go to solution Solved by tuanphan,

Recommended Posts

Hi All,

Need some help adding multiple Custom CSS to my landing page. Currently have code entered to prevent Header appearing on landing page (#collection-63dae2854181e25ad9d09c8e header {display:none}). However when I view my site in mobile view the sole image/link used to enter the site doesn't cover the entire page so I want to make the full mobile landing page a clickable link.

Is there a way to make the entire page a link and keep the header code?

Thanks!

 

Mobile Site.PNG

Link to comment

You method of removing the header navigation is removing the entire header which isn't ideal. You probably want to use .header like this:

#collection-63dae2854181e25ad9d09c8e {
  .header {
    display:none;
  }
}

That should help half your question.

Can you share your website URL and this landing page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • Solution
On 2/9/2023 at 6:05 PM, WonderlandOllie said:

Ahh thanks! Have amended that now. Header was still showing on other pages though, just not landing page so think it was working ok..!?

Website is https://www.oliverdavidphoto.com/

Add to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1675290347156_4010 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
}

 

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

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.