Site logo

[Resolved] Mobile submenu

Home Forums Support [Resolved] Mobile submenu

Home Forums Support Mobile submenu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2554711
    ammgbr

    Hi,

    I want to modify the mobile menu look, add a line below each submenu item.

    Also, how can I change the mobile menu items padding and font size?

    #2555600
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    @media (max-width: 768px) {
        .main-navigation .main-nav ul li a {
            border-bottom: 1px solid #000;
            font-size: 20px;
            padding: 5px 5px 5px 5px;
        }
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

    #2567416
    ammgbr

    Thank you 🙂

    #2568840
    Leo
    Staff
    Customer Support

    No problem 🙂

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