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

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

Question

Posted (edited)

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

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1

Remove your fixed header code & use this code

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

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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!! 

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