Dropdown menu width to match longest link

[ad_1]

Try this code. You may adjust the width

@media screen and (min-width: 721px) {
.nav-horizontal .entry-menu ul.sub-menu {
width: 200px;
text-align: left;
}
}
  • This reply was modified 11 hours, 19 minutes ago by Liz D.

And the winner is…. “LIZ D”!

Awesome Liz. Thank you so much! I admit I couldn’t locate the code in the Google inspector while the drop-down was active. You found it. I sifted through the code and also found this >padding: 10px 10px !important;< which brings the edges in a bit too. I admit I don’t know what I’m doing too much but this helps me keep all the time I had invested in this theme for a little while longer. Blessings!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer