Home › Forums › Support › I'm having an issue with my fixed header. Help anyone? This topic has 7 replies, 3 voices, and was last updated 7 years, 3 months ago by Tom. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts January 5, 2017 at 8:40 am #260941 kyle I have just added the code to make my header fixed and here it is: .site-header { background-color: #ffffff; border-bottom: solid 2px #eee; position: fixed; width: 100%; } It works as it should but now my content is partially covered by the header and I’m not sure how to get around this. Take a look ๐ http://swingtradesmart.com/learn-to-trade/what-is-swing-trading/ Any help will be appreciated and I look forward to your replies. January 5, 2017 at 9:06 am #260945 LeoStaff Customer Support Hi Kyle, I assume you’ve considered using sticky navigation instead of fixed header? This post maybe helpful otherwise: https://generatepress.com/forums/topic/how-can-i-create-a-fixed-header-and-top-menu-in-the-generate-press-theme/#post-31579 Let us know. January 5, 2017 at 9:39 am #260958 kyle Hey what is sticky navigation? I tried whats in the post and you can have a look at the result if you want. It’s not quite right yet. January 5, 2017 at 9:43 am #260959 LeoStaff Customer Support This site is currently using sticky navigation – the navigation is always visible at the top when you scroll down the page. Check out this article on how to use it: https://docs.generatepress.com/article/sticky-navigation/ Let me know. January 5, 2017 at 9:57 am #260968 kyle I have got it working as I like on pages where there is no header img now. But if you look at this page with the header img its not right. http://swingtradesmart.com/learn-to-trade/what-is-technical-analysis/ How can I get around this? Thanks January 5, 2017 at 10:17 am #260973 TomLead Developer Lead Developer Instead of fixing the entire header like that (which isn’t very mobile friendly), I suggest using the built in Sticky Navigation: https://docs.generatepress.com/article/sticky-navigation/ If that’s not an option, replace: .container { padding-top: 120px; } With: .custom-fixed-header + * { padding-top: 120px; } January 5, 2017 at 10:45 am #260991 kyle Okay thanks I’ll just get the add on tomorrow ๐ January 5, 2017 at 11:03 am #260998 TomLead Developer Lead Developer Individual add-ons are no longer for sale, but since you’ve already bought 3 add-ons I can give you a discount for what you already paid so you can get GP Premium if you’d like. Shoot me an email if you’re interested: https://generatepress.com/contact/ Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In