• Resolved Hamza

    (@hmza84)


    Hi,
    How can i change the size of the menu font?
    I added this in the custom CSS.

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

    But it doesn’t work.
    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • This should work:

    .site-header .main-navigation ul:not(.sub-menu) > li > a,
    .site-header .main-navigation ul:not(.sub-menu) > li:hover > a {
        font-size: 28px;
    }

    If your question has been answered, we would love if you would mark this topic as resolved in the right hand sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.

    Thread Starter Hamza

    (@hmza84)

    I solved,
    changing the code, by this one.

    .main-navigation ul:not(.sub-menu) > li > a, .main-navigation ul:not(.sub-menu) > li:hover > a {
        font-size: 20px;
    }

    It works,
    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Menu font size’ is closed to new replies.