- This topic has 3 replies, 2 voices, and was last updated 10 years, 1 month ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
How do I change the width of the drop-down menu to auto-adjust to the length of the page title? Right now it is at a fixed width so some items run down to 4 lines or more with longer page titles. I am sure this is a simple css fix for those in the know, not a newb like me. I searched around online and found a css trick that worked, but the page title auto adjusted but the shadow background did not so the text ran off the color and it looked horrible. Could not figure out how to make it work right. I also searched the forum before posting. Thanks!!
Honestly you are better off choosing an appropriate width for most cases by editing the width in your style.css file. Without a link to your site it's hard to give you specific recommendations.
Then you can edit the "Navigation Label" on the individual links in your menus. That way you can shorten up long page titles so that the work better in your nav menus.
If you try to do some kind of flexible width it will mess up your third level navigation flyouts. You probably don't really want to do that.
Got it, makes sense. Where would I change the width though? I'd like to experiment a bit and see if I can find the balance.
If you can post a link to your site then someone here could help you with that.
© 2023 WPEngine, Inc.