Premium support

Please log in to post in these forums. If you didn't create an account when you purchased, please contact us.

Free support

If you haven't purchased GP Premium, support for the free theme can be found on WordPress.org.

[Support request] transparent mobile menu bug

Home Forums Support transparent mobile menu bug

This topic contains 1 reply, has 2 voices, and was last updated by  Leo 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #462465

    I use this CSS to create transparent mobile menu:

    @media (max-width: 768px) {
        .mobile-header-navigation:not(.navigation-stick) {
            background-color: transparent;
        }
    }

    But the problem is that it makes the menu items transparent (and hence unreadable) as well.

    GeneratePress 2.0.1
    GP Premium 1.5.6
    #462489

    Leo
    Staff

    Hi there,

    Try this:

    @media (max-width: 768px) {
        .main-navigation .main-nav ul li a {
            background-color: #ffffff;
        }
    }

    Want to help support GP? Please consider leaving us a review!
    https://wordpress.org/support/theme/generatepress/reviews

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.