[Resolved] Secondary Navigation, Sub Menu Font Change

Home Forums Support Secondary Navigation, Sub Menu Font Change

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #357476
    generatedcadcpr

    I’ve seen that you can change the sub menu font size for main navigation with some CSS.
    Is there a bit of code I could use to change the font family for the secondary navigation, sub menu?

    And also in this same section, the sub menu’s width.
    The text is a bit longer here, but i don’t want to change the width of the secondary menu’s top level, just the sub.

    I’ve tried a few things based on people’s questions about the main navigation, but couldn’t get it to work.

    screenshot

    GeneratePress 1.3.48
    GP Premium 1.3.1
    #357587
    Leo
    Staff
    Customer Support

    Hi there,

    Font family:

    .secondary-navigation .main-nav ul ul li a {
        font-family: fantasy;
    }

    Width:

    .secondary-navigation ul ul {
        width: 200px;
    }
    #357591
    generatedcadcpr

    worked great, thanks. I think I’ll be using this a lot more often.

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