Site logo

[Support request] Menu CSS Class not working

Home Forums Support [Support request] Menu CSS Class not working

Home Forums Support Menu CSS Class not working

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

    Hello,

    I am trying to change the appearance of a menu item with a the css class option.
    I added

     .secondary-nav {
    font-style: italic;
    font-size:14px;
    }

    as an additional css, however, the font size always gets overridden by the default theme settings. The font-style doesn’t since it’s not specified anywhere else.

    What can I do to fix it?

    Thanks

    #2216711
    Leo
    Staff
    Customer Support

    Hi there,

    Your CSS above looks like it’s for the secondary navigation. However, I’m not seeing a secondary navigation in the site you’ve linked.

    Can you confirm?

    Also, the font size can be handled in the customizer under the Typography panel:
    https://docs.generatepress.com/article/dynamic-typography-overview/

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