- This topic has 10 replies, 3 voices, and was last updated 3 years, 7 months ago by Cristo Rey.
September 12, 2017 at 12:24 pm #384121Cristo Rey
I have sticky navigation on my site, which I like, but would like to make the header sticky along with it. What I want to do is make the title & header image sticky along with the menu. This is important because I am trying to get brand recognition so I want that visible all the time.GP Premium 1.4.3September 13, 2017 at 4:30 am #384525Cristo Rey
Looks like I found the answer hereSeptember 13, 2017 at 8:35 am #384668LeoStaffCustomer SupportSeptember 14, 2017 at 6:34 am #385294Cristo Rey
Well, I don’t know much about GP Hooks. Was hoping for a simple css that would do the trick. If not, then I will try to devote some time next week to learning about hooks. So much to learn….so little time!September 14, 2017 at 9:32 am #385402Cristo Rey
I tried this per an earlier suggestion
…it makes the header sticky, but then I lose the sticky navigation. I wanted both to be sticky.So for now I took that back off and still have sticky navigation.September 14, 2017 at 10:03 am #385433TomLead DeveloperLead Developer
You can’t only make the site-header sticky, you need to wrap the header and nav in one element, which is what this method does: https://generatepress.com/forums/topic/how-can-i-create-a-fixed-header-and-top-menu-in-the-generate-press-theme/#post-31579September 14, 2017 at 11:15 am #385487Cristo Rey
Thanks, Tom. I had already read that, but not sure I am ready to try it. It talks about GP hooks, but not sure if that only applied to location of the menu in that particular case.
Will work on learning more about GP hooks before I try. Also, it is a bit confusing to me about adding css and then removing it. Will sit down and try to figure it out…I usually make things more complicated than they really are!September 14, 2017 at 10:59 pm #385721TomLead DeveloperLead DeveloperSeptember 15, 2017 at 4:57 am #385864Cristo Rey
Thanks. Get some sleep, Tom….you worry me!September 15, 2017 at 9:19 am #386035TomLead DeveloperLead DeveloperSeptember 15, 2017 at 9:45 am #386051Cristo Rey
I am a mother and a grandmother….it is my job to worry and give advice!
- You must be logged in to reply to this topic.