Header menu

  • hay eweryone

    i’m trying t obuild webpage with wordpress and have some problem, i’m using soccer theme on http://www.marijanpusnik.com/page/ and the theme already had some kind of menu in Header as you can see. but there is working only home button. I would like to have this menu like Pages menu, same funkcionality, but i don’t have a clue how to do that. I was trying to find something in the header.php file and find this

    <div id=”page”>
    <div id=”header”>
    <div id=”headerimg”><?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    <ul class=”menu”>

  • Contact
  • |
  • About
  • |
  • Videos
  • |
  • Clubs
  • |
  • Galleries
  • |
  • Links
  • |
  • “>Home
  • </div>

    <div class=”topgrad botgrad”>
    <img alt=”pagebg” class=”display” src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/pagebg.jpg” />

    what should i change, can enyone help me???


Viewing 4 replies - 1 through 4 (of 4 total)
  • buddha trance



    In header.php of your theme, you should have
    <?php wp_list_pages; ?> in the <ul class="menu"> where you looked.

    If so, the pages will appear in the menu tabs, once you create them and publish them.
    Did you already publish the contact, about, etc. pages that you mention?

    No I haven’t manage to publish nothing jet, I have tried vith
    <?php wp_list_pages; ?> in the <ul class=”menu”>, and it helpet but the next problem is that there is no Space betweeen pages like so
    home | gallery | … and so on, ewerything is squized together

    what should I do


    Now I vill leave Pages menu in the side bar, but i would like to have a link to the NexGen gallery in header menu…
    for home button there is code like:


  • “>Home
  • */

    what should I put afer href=”#”… for the gallery:


  • Galerija
  • */

buddha trance


On your sidebar you have Galerija under page id=13. That is the page where you will put your gallery, then publish it, so the actual url will be marijanpusnik.com/page/galerija

Pages will appear on the menu bar only after you publish them, and the link is created automatically for any page created within WordPress (you need to hard code only external links).

To create space between the tabs, you have to look at your css in the style sheet.

In style.css of your theme, change settings for the menu in

.menu li {

I changed the left padding to 10px and now there is more space. Play with it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Header menu’ is closed to new replies.
Skip to toolbar