Jump to content

Nav bar is different on gallery pages -- how to fix?

Recommended Posts

Site URL: https://www.dtr.media/

Hello,

I'm in the process of building my site and currently have a fixed header with transparency applied to my home page. I'm a CSS novice at best and mainly found the code to modify those elements by searching and piecing some things together.

The fixed/transparent header have automatically been applied to the contact/about pages, but the video & photo gallery pages aren't applying the changes for some reason. How would I go about correcting this so the nav bar is consistent across all pages?

 

Thanks for any help. 

Current code being used:

 

Quote

.Header.Header--bottom.Header--overlay { 

background-color: rgba(23,23,23,.75);
width: 100% !important;
position: fixed;
padding-bottom: 20px;
}
Header {
    border-top: 6px solid #ffffff;
}

 

 

Edited by nordik
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Remove your fixed header code & use this code

header.Header.Header--bottom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

 

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
2 minutes ago, tuanphan said:

Remove your fixed header code & use this code


header.Header.Header--bottom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

 

Wow! That was incredibly fast and appears to have worked perfectly. Thank you so much for your help!! 

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.