Sub menu item width
-
In Twenty Fourteen theme, sub menu items have fixed width. This means longer text overflows catastrophically, and shorter text has unnecessary space.
https://stackoverflow.com/questions/13903929/how-to-set-css-width-equal-to-length-of-longest-text indicates a solution, however I have so far been unable to adapt (copy/modify) the theme to fix the issue.
I am stuck, as the width of the main menu items is constraining that of the sub-menu and I’ve no idea why. It doesn’t in the link above, so the issue is clearly solvable…
Hopefully someone has already had this issue. Why is the sub-menu width restricted that of the parent item in “2014” whilst it isn’t in the example above? What am I missing?
- The topic ‘Sub menu item width’ is closed to new replies.