nordik Posted May 18, 2020 Share Posted May 18, 2020 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; } Link to comment
tuanphan Posted May 18, 2020 Share Posted May 18, 2020 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 Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
nordik Posted May 18, 2020 Author Share Posted May 18, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.