Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
smc1227

Hiding code block that appears on page. Launching Website Soon Please Help!

Question

Posted (edited)

I recently added a code block to the top of select sections in my Mojave template in order to add a "section" to my primary navigation menu. I'm using only one index page and multiple sections to create a long scrolling website. The issue I have is that the code is visible on the pages and I want to hide it. How can I do this? PS:making the body text overlay transparent would work; however, it also makes the body text on other pages transparent which I do not want to happen. Perhaps a CSS to make body overlay transparent on select pages only? Please help.

Edited by smc1227
Initial Revision

Share this post


Link to post

4 answers to this question

Recommended Posts

  • 0

To apply CSS on a specific page, you need to use Page ID. See how to find Page ID: https://beaverhero.com/squarespace-how-to/#HowtoFindPageID

For example, you want to apply CSS to the h1 tag, you need to use


#Page-ID h1 {
  font-size: 20px;
 color: red;
}


Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...