[Resolved] Transparent Menu Below Header

Home Forums Support [Resolved] Transparent Menu Below Header

Home Forums Support Transparent Menu Below Header

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #195788
    Markus

    Hello.

    I use GeneratePress with the Mantle Child Theme, because I liked the transparent sticky main menu below the header.
    Then I installed GP Premium and adjusted some values.
    I have no idea why – but the transparency of the menu is gone.
    Any idea how to fix this?

    Thank you very much.

    #195789
    Markus

    Maybe it is helpful to check the site at https://insoguide.de

    #195823
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Give this CSS a try:

    .navigation-stick {
        opacity: 0.8;
    }

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    #196739
    Markus

    Tom,

    thank you, this works fine.

    May I be curious? Bug or Feature? Did I break the Mantle theme with some settings?

    Have a nice day.

    Markus

    #196740
    Markus

    Tom,

    sorry to bother you again: is there language pack for “German (formal)” available?

    Markus

    #196852
    Tom
    Lead Developer
    Lead Developer

    No bug – Menu Plus doesn’t have the transparency feature, but I may add it soon.

    That language isn’t complete, but you can contribute to it if you like?: https://translate.wordpress.org/locale/de/formal/wp-themes/generatepress

    #226774
    Markus

    Hi Tom.

    I was wondering how to add opacity to a mobile header as well.
    My guess was

    .mobile-header-navigation.is_stuck {
        opacity: 0.8;
    }

    Do you have a better idea?

    #226814
    Tom
    Lead Developer
    Lead Developer

    That should work, then you can set it back to 1 when you hover:

    .mobile-header-navigation.is_stuck:hover {
        opacity: 1;
    }
    #226870
    Markus

    Tom.

    Thank you for the fast answer, but sorry.

    This one does not do it:

    .mobile-header-navigation.is_stuck {
        opacity: 0.8;
    }

    But I cannot find out why.
    Any idea, please?

    #226995
    Tom
    Lead Developer
    Lead Developer

    Can you link me to your site with that CSS added?

    #227628
    Markus

    Yes, sure.
    here we go: http://forderungsaufstellung-367.de

    #227726
    Tom
    Lead Developer
    Lead Developer

    Ah I see, try making it more specific:

    #mobile-header.mobile-header-navigation.is_stuck {
        opacity: 0.8;
    }
    #227819
    Markus

    Yeah. That’s it.
    Thank you again.
    Also for the hint to make it solid on hoover.
    Makes sense.

    #227856
    Tom
    Lead Developer
    Lead Developer

    No problem! Glad I could help 🙂

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