Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Adding CSS for Dummys;-)

Home Forums Support Adding CSS for Dummys;-)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #410266
    Andreas

    Hi, I´m very new in GP and i have following problem:
    I want to change the font size in the dropdown-area of the main menu.
    I found class that should fix that:

    .main-navigation ul ul {
    width: 250px;
    }

    But i have no idea, where to put it and how to “activate” it …
    i tried to copy that into “Additional CSS”, but that didn`t work …

    How you can give me a step by step solution;-)
    Thank you
    Andi

    GP Premium 1.4.3
    #410289
    Leo
    Staff
    Customer Support

    Hi there,

    That changes the submenu width, not the font size.

    Try this to change the submenu font size:

    .main-navigation .main-nav ul ul li a {
        font-size: 20px;
    }

    Additional CSS should work 🙂

    #410292
    Andreas

    Hi,
    Thank you for your answer..
    But how and where do i ad the CSS?
    As you might recognize, i`m really new in WP;-)

    #410313
    David
    Staff
    Customer Support

    Documents is a good place to start here’s one on CSS
    https://docs.generatepress.com/article/adding-css/

    The Additional CSS is the right place. But i would recommend downloading Tom’s Simple CSS plugin, its great and its free

    #413460
    Andreas

    Hi,

    Simple CSS worked, Thank you!!

    #413607
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.