Celebrating 7 Years! Get up to $30 off GeneratePress Premium!

[Resolved] Line height in side menu

Home Forums Support [Resolved] Line height in side menu

Home Forums Support Line height in side menu

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #593225
    Maria

    One of the menu items in my side menu wraps onto 2 lines. This makes it look like 2 options. I’d like to reduce the line spacing for just this menu item, but I can’t seem to make it work. I’d appreciate any advice.

    The website is:
    https://testcpp.uk.johnsonva.com/

    And the menu item I want to change is ‘Find your local herbalist’

    Many thanks
    Maria

    GeneratePress 2.1.2
    #593271
    David
    Staff
    Customer Support

    Hi Maria, i see that menu item has a custom class so you could target it like so:

    #primary-menu .local-herb a {
        line-height: 25px;
    }
    #593355
    Maria

    Perfect! Thank you david!

    Everything’s working perfectly now!

    Thank you again
    Maria

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