• 0
Sign in to follow this  
Followers 0

How Do I Decrease Main Nav Dropdown Text Size?

Question

Posted · Report post

I've searched the forum for similar questions, and have found a few answers, but none of them worked for me. So, I apologize if there's a solution I wasn't able to find. I was able to change the text size of the main nav text with the following code:

.main-nav {
	font-size: 1.4em;
	}

But, I can't seem to figure out how to decrease the font size of the drop down portion of the main nav. Thanks in advance for your help!

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Posted · Report post

The text in the dropdown portion of the menu uses a different selector from the menu items. Try this CSS: [code]ul.sub-menu li.menu-item {font-size: #em;}[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That worked beautifully! Thank you!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0