Title: Making this CSS vertical
Last modified: August 18, 2016

---

# Making this CSS vertical

 *  Resolved [joid](https://wordpress.org/support/users/joid/)
 * (@joid)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/making-this-css-vertical/)
 * I have this piece of code that i like to have vertical instead of horizontal.
   I’ve tried a lot, but nothing worked yet.
 * `
    /*- Main Menu in Header */ ul.menu { list-style-type: none; list-style-image:
   none; margin: 0 0 0 -15px; padding: 0; position: absolute; width: 500px; color:#
   333; } ul.menu li { list-style-type: none; list-style-image: none; display: inline;
   margin: 0; color: #333; } ul.menu, ul.menu li a { list-style-type: none; list-
   style-image: none; padding: 5px 15px 6px; color: #333; } ul.menu li a { list-
   style-type: none; list-style-image: none; font-size: 1em; background: #333; color:#
   eee !important; margin: 0; } ul.menu li a:hover { background: #B5D252; color:#
   eee !important; text-decoration: none; list-style-type: none; list-style-image:
   none; } ul.menu li.current_page_item a, ul.menu li.current_page_item a:hover {
   color: white !important; background: #48f; text-decoration: none; list-style-
   type: none; list-style-image: none; }
 * Any help would be appreciated

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

 *  [cobalto](https://wordpress.org/support/users/cobalto/)
 * (@cobalto)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/making-this-css-vertical/#post-457447)
 * what?
 *  [vavroom](https://wordpress.org/support/users/vavroom/)
 * (@vavroom)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/making-this-css-vertical/#post-457454)
 * I think what you’re after is going to happen if you remove
    ` display: inline;`
 * Of course, there’s a LOT of styling that is unecessary there. You might want 
   to simply remove all styling and start from scratch.
 *  Thread Starter [joid](https://wordpress.org/support/users/joid/)
 * (@joid)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/making-this-css-vertical/#post-457824)
 * Thnx @ vavroom
    That was it indeed.
 * But finally I’m using it horizontaly 🙂
    Oh and the unnecessary styling is gone
   now

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

The topic ‘Making this CSS vertical’ is closed to new replies.

## Tags

 * [vertical](https://wordpress.org/support/topic-tag/vertical/)

 * 3 replies
 * 3 participants
 * Last reply from: [joid](https://wordpress.org/support/users/joid/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/making-this-css-vertical/#post-457824)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
