Title: Width o sub-menus
Last modified: November 21, 2019

---

# Width o sub-menus

 *  Resolved [Tuffer](https://wordpress.org/support/users/caemaycock/)
 * (@caemaycock)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/width-o-sub-menus/)
 * Hello Oliver,
    The sub-menu titles are not easy to abbreviate and over time will
   increase in number. New options? 1. Reduce the font size only in a sub-menu? 
   2. Increase the width of the sub-menu, ideally auto-fit, otherwise in fairly 
   coarse steps? This is obviously dependent on screen width. Regards, Tuffer
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwidth-o-sub-menus%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/width-o-sub-menus/#post-12158642)
 * Hello Tuffer,
 * Interesting. Let’s take a look at this with CSS which you can add into “Customizer–
   Additional CSS”.
 * The width of the sub menus and their font size can be controlled using …
 *     ```
       @media screen and (min-width: 48em) {
       .main-navigation ul ul a {
       width: 16em;
       font-size: 0.875rem;
       }
       }
       ```
   
 * Just change the values above.
 * Let me know if this works for you and I’ll think about adding new options accordingly.
 * Oliver
 *  Thread Starter [Tuffer](https://wordpress.org/support/users/caemaycock/)
 * (@caemaycock)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/width-o-sub-menus/#post-12159000)
 * Oliver, thank you, this is more than half-way there, see e.g. [https://penprig.org.uk/conferences-and-meetings/](https://penprig.org.uk/conferences-and-meetings/)
   
   It does also make the case for autofit. Is there a nowrap possibility? I’ll put
   a few quid in the pot for this one! Tuffer.
 *  Plugin Author [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/width-o-sub-menus/#post-12159843)
 * Hmm, try adding “white-space: nowrap;” but that might require a “width: auto;”
   as follows …
 *     ```
       @media screen and (min-width: 48em) {
       .main-navigation ul ul a {
       width: auto;
       font-size: 0.875rem;
       white-space: nowrap;
       }
       }
       ```
   
 * Always happy if the plugin is upgraded to premium! 🙂
 * Oliver
 *  Plugin Author [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * (@domainsupport)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/width-o-sub-menus/#post-12343897)
 * Marking this as resolved now.
 * Oliver

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Width o sub-menus’ is closed to new replies.

 * ![](https://ps.w.org/options-for-twenty-seventeen/assets/icon-256x256.jpg?rev
   =1896745)
 * [Options for Twenty Seventeen](https://wordpress.org/plugins/options-for-twenty-seventeen/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/options-for-twenty-seventeen/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/options-for-twenty-seventeen/)
 * [Active Topics](https://wordpress.org/support/plugin/options-for-twenty-seventeen/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/options-for-twenty-seventeen/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/options-for-twenty-seventeen/reviews/)

## Tags

 * [sub menu width](https://wordpress.org/support/topic-tag/sub-menu-width/)

 * 4 replies
 * 2 participants
 * Last reply from: [Oliver Campion](https://wordpress.org/support/users/domainsupport/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/width-o-sub-menus/#post-12343897)
 * Status: resolved