[Resolved] How can I fix the secondary menu when scrolling down.

Home Forums Support [Resolved] How can I fix the secondary menu when scrolling down.

Home Forums Support How can I fix the secondary menu when scrolling down.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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=aaede1bc9f06ed1109bb9d403c3407da

    Best regards,

    Chris

    #1624642
    David
    Staff
    Customer Support

    Hi 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;
        }
    }
    #1628833
    Stephen

    Thank you so much David!
    It worked well for me, I will keep using GP for my projects.

    #1628915
    David
    Staff
    Customer Support
    #1679710
    Stephen

    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=f40f9e6b177ac4461a75b4a5134ccbb8

    Is there any way to solve this issue?
    Thanks in advance,

    Chris

    #1679718
    Elvin
    Staff
    Customer Support

    Hi 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?"

    #1688761
    Stephen

    Hi Elvin, here is the site link https://54.68.147.74/~lfs/politiques-des-langues/

    #1688777
    Ying
    Staff
    Customer Support

    Hi 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.

    #1708610
    Stephen

    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

    #1708637
    Ying
    Staff
    Customer Support

    Thanks Chris for getting back to me.
    Glad it works now!

    Let’s deal with the background color in the other topic 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.