Jump to content

Need to disable custom CSS for specific page

Recommended Posts

We're using custom CSS in the Maple template to make a parallax hero image on the home page that takes up the entire height of the screen:


#hero-banner,
.Parallax-host .Parallax-item {
   height: 100vh;
}

However, that CSS is forcing our product pages to have a bunch of empty white space at the top. I'm hoping we can use Code Injection to disable that CSS just on the Product pages. Please help!

Link to comment
  • Replies 2
  • Created
  • Last Reply

@peterward13 You can edit code to apply only homepage


 .homepage #hero-banner, .homepage .Parallax-host .Parallax-item {
    height: 100vh;
}


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.