- This topic has 9 replies, 2 voices, and was last updated 7 months, 2 weeks ago by
Leo.
-
AuthorPosts
-
June 5, 2020 at 8:23 am #1315760
Cristo Rey
This probably relates to some custom CSS that I got from you (I don’t know CSS, so I always rely on GP for help.
On one of my websites (thecatholictravelguide.com) the header & menu are sticky. That is the way I want it. But on my other website https://store.thecatholictravelguide.com/ the menu is sticky but not the header.I want to make that site have a sticky header and menu as well. Just need to know what CSS I used on the other site.
June 5, 2020 at 12:11 pm #1316020Leo
StaffCustomer SupportHi there,
I’m not seeing the sticky header on the link you’ve provided.
Are you referring to the top bar with the COVID message?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 5, 2020 at 1:01 pm #1316085Cristo Rey
No, not talking about the top bar. I mean the header that has my logo and title. When I scroll down the page on The Catholic Travel Guide.com the blue sky background, site title and menu all stay sticky. Not sure how I did that but I would like to duplicate that on our store website
June 5, 2020 at 9:44 pm #1316376Leo
StaffCustomer SupportCan you check if there is a hook element added for the sticky branding?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 6, 2020 at 6:36 am #1316727Cristo Rey
Is this the hook?
If so, how do I change it for http://www.store.thecatholictravelguide.com?
June 6, 2020 at 6:42 am #1316734Cristo Rey
Sorry, I meant this:
Do I just change to http://www.store.thecatholictravelguide.com and also rel=”home”> store The Catholic Travel Guide ?
June 6, 2020 at 6:43 am #1316735Cristo Rey
June 6, 2020 at 8:15 am #1316921Leo
StaffCustomer SupportPlease highlight the code and click the
code
button in the editor.The hook should look like this:
<div class="site-branding sticky-brand"> <p class="main-title" itemprop="headline"> <a href="http://www.thecatholictravelguide/" rel="home">The Catholic Travel Guide</a> </p> </div>
You would need to add the same hook in the other site and edit the link.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 6, 2020 at 10:38 am #1317118Cristo Rey
thanks..I did that and replaced http://www.thcatholictravelguide.com with http://www.store.thecatholictravelguide.com and also “home” changed to >store.the catholic travel guide but still not working. But now that I look at it, I will stay with just the sticky menu at the top.
June 6, 2020 at 4:32 pm #1317336Leo
StaffCustomer SupportSounds good 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.