Title: Controlling menu format
Last modified: August 22, 2016

---

# Controlling menu format

 *  [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/controlling-menu-format/)
 * I’ve added some subitems to a menu, but they appear horizontally instead of vertically,
   which doesn’t look very good. Is there an option I’ve failed to click to specify
   a vertical submenu item arrangement? Failing that, is there a way to control 
   the width of a submenu, which should force the items to wrap within that space?

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646440)
 * It’s a CSS issue, not something to click. What’s the URL of your site?
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646441)
 * [http://Www.abmi.net](http://Www.abmi.net)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646442)
 *     ```
       .desktop .hmenu>li>ul>li {
       float: none;
       display: block;
       }
       ```
   
 * Will get you vertical, but the menu your theme uses pushes the left margin way
   negative. I’m not sure how to tweak that. You may want to drop a note to the 
   theme’s author, Author: Smudge Graphic Design Author URI: [http://www.smudgegraphicdesign.com/](http://www.smudgegraphicdesign.com/)
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646444)
 * Thank you! I will give that a try.
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646445)
 * Well, that worked! Unfortunately, whenever I add an item to the menu, the submenu
   gets wider and wider. You’ll see what I mean if you visit [http://www.abmi.net](http://www.abmi.net)
   and click on Sell A Business. With just one subitem, the submenu is the right
   width, but as I add items, the menu width increases.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646446)
 * Yes. The menu uses one massive margin-left: -soemthingpx style. You’ll have to
   figure that out or check with the theme’s author.
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646448)
 * But would that explain with the menu gets wider each time I add a subitem. Also,
   why would the margin-left value affect the overall width of the submenu?
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646449)
 * Oops:
 * But would that explain WHY the menu gets wider each time I add a subitem? Also,
   why would the margin-left value affect the overall width of the submenu?
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646450)
 * I’m wondering if this is the piece of code that is giving me trouble:
 * {
    position: absolute; top: 23px; left: 92.61%; margin-left: -161px !important;-
   webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(
   0deg); -ms-transform: rotate(0deg); transform: rotate(0deg); z-index: 103; width:
   175px; height: 133px; }
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646451)
 * YOu should check with the theme’s author!
 *  Thread Starter [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * (@wordwrkr)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646452)
 * Unfortunately that is not an option. But thank you very much for your help with
   this. It is much appreciated.

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

The topic ‘Controlling menu format’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 2 participants
 * Last reply from: [wordwrkr](https://wordpress.org/support/users/wordwrkr/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/controlling-menu-format/#post-5646452)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
