[Resolved] Transparent menu bar that changes color on scroll

Home Forums Support [Resolved] Transparent menu bar that changes color on scroll

Home Forums Support Transparent menu bar that changes color on scroll

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1628124
    Matthieu

    Hello, is it possible to have a transparent bar then on the scroll it changes color? It involves a logo and text in a different color.

    Thanks

    #1628148
    Leo
    Staff
    Customer Support

    Hi there,

    Are you using a merged header element?

    If so take a look at this:
    https://docs.generatepress.com/article/navigation-as-a-header/#different-logo-and-navigation-colors

    #1628184
    Matthieu

    Hello thank you for your answer, on the other hand as you can see in the link below, I have a white bar at the top.

    Where is she from ?

    Thanks

    #1628263
    Ying
    Staff
    Customer Support

    Hi Matthieu,

    You have 20px margin applied to the site main container.
    https://www.screencast.com/t/AYXRadPfE

    I can’t see where it’s coming from since it’s generated by cache, could you turn off cache plugin and clear all cache, so we can take another look at the codes? Thanks!

    #1628265
    Matthieu

    It’s good the cache is emptied and the plugins are disabled

    #1628301
    Matthieu

    So it’s good I removed the 20px margin between the containers, the problem is solved! Thanks !

    #1628394
    Ying
    Staff
    Customer Support

    Awesome! Glad you figured it out 🙂

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