- This topic has 9 replies, 4 voices, and was last updated 1 year, 4 months ago by
Ying.
-
AuthorPosts
-
January 19, 2021 at 12:31 am #1624551
Stephen
Hello, I am using GP Pro for most of my sites.
Now I am facing a issue, Do GP has features to fix the secondary menu when I scroll down the page? like fixing the secondary menu and make it fixed under the main menu? Here is the reference link https://www.awesomescreenshot.com/video/2427150?key=aaede1bc9f06ed1109bb9d403c3407daBest regards,
Chris
January 19, 2021 at 2:18 am #1624642David
StaffCustomer SupportHi there,
you can use some CSS to make the secondary nav sticky:
#secondary-navigation { position: -webkit-sticky; position: sticky; top: 92px; /* Height of header */ } /* Adjust position for mobile header */ @media(max-width: 768px) { #secondary-navigation { top: 60px; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/January 21, 2021 at 11:52 pm #1628833Stephen
Thank you so much David!
It worked well for me, I will keep using GP for my projects.January 22, 2021 at 1:33 am #1628915David
StaffCustomer SupportGlad to hear that!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 2, 2021 at 9:32 pm #1679710Stephen
Hello David, I am the fan of GP.
Now I have an issue that my secondary menu’s hover over color could not changed..
Here is the referential video https://www.awesomescreenshot.com/video/2929989?key=f40f9e6b177ac4461a75b4a5134ccbb8Is there any way to solve this issue?
Thanks in advance,Chris
March 2, 2021 at 9:41 pm #1679718Elvin
StaffCustomer SupportHi there,
Any chance you could link us to the site in question so we could check for any reason why it occurs?
It helps to clear cache as well.
A wise man once said:
"Have you cleared your cache?"March 9, 2021 at 2:03 pm #1688761Stephen
Hi Elvin, here is the site link https://54.68.147.74/~lfs/politiques-des-langues/
March 9, 2021 at 2:17 pm #1688777Ying
StaffCustomer SupportHi Stephen,
The background current and text current colors are overriding the hover colors, because all of the secondary navigation items are linked to the current page with different anchors.
You could try to clear the current colors in customizer see if that works.
March 24, 2021 at 1:45 pm #1708610Stephen
Hi Ying, sorry for the late reply, I checked the site, it works well!
Appreciated your help, always be your fan.Btw for the menu background color issue which you helped us months ago, the background color seems still shows up, I will switch back to that topic and send you detail info, hope can get your continued advice.
Chris
March 24, 2021 at 2:14 pm #1708637Ying
StaffCustomer SupportThanks Chris for getting back to me.
Glad it works now!Let’s deal with the background color in the other topic 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.