[Resolved] Change font colors

Home Forums Support [Resolved] Change font colors

Home Forums Support Change font colors

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1621612
    Peter

    Just wondering if it is possible to change the menu font colors in mobile to be different than desktop in GP Premium? I’ve tried, but it seems that the colors in customize->primary navigation->colors apply to all the menus – desktop, tablet & mobile?

    Thanks!

    #1621643
    Ying
    Staff
    Customer Support

    Hi Pete,

    You could use this CSS to change menu colors for mobile:

    @media (max-width: 768px) {
        .main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-items {
            color: #000 /*change it to the color you want*/
        }
        .main-navigation:hover .main-nav ul li a:hover, .menu-toggle:hover, .main-navigation:hover .menu-bar-items:hover {
            color:#222 /*change it to the color you want when hover*/
        }
    }

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

    Let me know ๐Ÿ™‚

    #1621689
    Peter

    Thanks, that seems to be working perfectly.

    #1621694
    Ying
    Staff
    Customer Support

    You are welcome, glad to help ๐Ÿ™‚

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