Title: header menu coding question.
Last modified: August 19, 2016

---

# header menu coding question.

 *  [ev-man](https://wordpress.org/support/users/ev-man/)
 * (@ev-man)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/)
 * Okay. So What I want the header menu to is to display all my pages i have made(
   and ones i add in the future). I.E. Home Page1 Page2
    Not just “Home About”
 * I’ve figured out how to get the code to show all the pages so far… but then home
   shows up at the top and pushes all the rest down to the bottom. Making my menu
   wider then i wanted it.
 *     ```
       <div id="menu">
               <!-- <p id="sitemap"><a href="?sitemap">Sitemap</a>
        -->
               <ul class="pagelinks2">
               <a href="<?php bloginfo('url'); ?>" title="Home">Home.</a>
               <?php wp_list_pages('title_li=&depth=1'); ?>
   
               </ul>
       </div>
       ```
   
 * Keep in mind i dont understand this kind of coding that well… just slapped some
   things together and got this far now i’m stumped haha.

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

 *  [wizardregis](https://wordpress.org/support/users/wizardregis/)
 * (@wizardregis)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/#post-942196)
 * Placing the home link inside a `<li>` would do the trick? Is your menu horizontal
   or vertical?
 *  Thread Starter [ev-man](https://wordpress.org/support/users/ev-man/)
 * (@ev-man)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/#post-942303)
 * horizontal.
    [http://www.evanhodsonphoto.com](http://www.EvanHodsonPhoto.com)
 * take a look if you like.
 *  [mmeldrum](https://wordpress.org/support/users/mmeldrum/)
 * (@mmeldrum)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/#post-942403)
 * Hi,
 * Not sure if this helps as I’m even more newbie than you, but I had a play with
   your CSS using Firebug.
 * Removing the overflow line from the following seemed to fix the menu (i.e. it
   showed home, About Me, Contact Me, Gallery).
 *     ```
       #menu ul {
       border:medium none;
       height:35px;
       margin:0;
       overflow:hidden;
       padding:0;
       width:250px;
       }
       ```
   
 * Hope that helps.
 *  [mmeldrum](https://wordpress.org/support/users/mmeldrum/)
 * (@mmeldrum)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/#post-942405)
 * Quick update… I should have said to remove the **width** line, not the overflow.

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

The topic ‘header menu coding question.’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 4 replies
 * 3 participants
 * Last reply from: [mmeldrum](https://wordpress.org/support/users/mmeldrum/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/header-menu-coding-question/#post-942405)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
