Dropdown Menu Font Size

What CSS is required to change the font size of the dropdown menu with Integrity?

I’ve searched quite a bit in these forums and others, but none of the solutions provided have worked for my site.

These are the two most common ones I’ve found, yet neither work:

desktop .sub-menu 
{
  font-size: 14px; 
}

.x-navbar .sub-menu a
{
font-size:20px;
}

Thanks in advance!

Hi there,

The CSS code to affect only the dropdown text is:

.x-navbar .desktop .sub-menu a {
    font-size: 20px;
}

I checked the case against this page: http://demo.theme.co/integrity-1/

If you still have problems get back to us with the URL of your website so that we can check the case and give you proper suggestion.

We assumed that you used X theme. If you are using Pro with Header Builder then you will have the option of the submenu text size at hand in the Inline Navigation element options.

Thank you.

Still not working unfortunately not sure what the issue is… And yes, using X Theme.

http://37.60.244.156/~thesefor/

Thanks again for looking!

Hey @kerridawn,

Please try this.

.desktop .sub-menu a {
    font-size: 1.2em;
}

If it doesn’t help, add !important like this font-size: 1.2em !important;. If again it doesn’t help, check all your custom CSS for syntax errors using a CSS checker like http://csslint.net/

Hope that helps.

Still doesn’t work, checked the CSS and only got a few warnings about padding and using !important. Nothing relating to the navbar, header, fonts, or menu…

Still lost.

Hello There,

It is not working because you have added the incorrect code.

Missing the . is a big difference. Please update it and use this please:

.desktop .sub-menu a {
    font-size: 1.2em !important;
    color: red !important;
}

I’ve added a color so that you can easily find out if it took effect or not. You can remove the color once you are sure that you have inserted the correct code.

Please let us know how it goes.

Ahh! Brutal mistake on my part, copy and paste with haste isn’t the way to go apparently!

Thank you so much for the help and the patience!

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.