Title: CSS Drop Down Menu
Last modified: August 19, 2016

---

# CSS Drop Down Menu

 *  [rulethenation](https://wordpress.org/support/users/rulethenation/)
 * (@rulethenation)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/css-drop-down-menu-1/)
 * I need to turn my category menu into a drop down menu. The layout before had 
   it, but this new layout i have no clue how to do this. Ive googled and looked
   up websites on how to do it and nothing works just messes up my layout. Anyone
   think they can help? Here’s the code for the categories:
 * <?php $display_categories = array(10,394,15,955,13,4,14,16,6,5); $i = 1;
    foreach(
   $display_categories as $category) { ?>
 * <div id=”cat-<?php echo $i; ?>” class=”category”>
    <?php query_posts(“showposts
   =1&cat=$category”)?> <span class=”cat_title”>”><?php single_cat_title(); ?></
   span>
 * “><?php echo category_description($category); ?>

The topic ‘CSS Drop Down Menu’ is closed to new replies.

## Tags

 * [css drop down menu](https://wordpress.org/support/topic-tag/css-drop-down-menu/)

 * 0 replies
 * 1 participant
 * Last reply from: [rulethenation](https://wordpress.org/support/users/rulethenation/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/css-drop-down-menu-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
