Support » Themes and Templates » How to add a “|” to header

  • cartpauj


    I have in my header code <?php wp_list_pages(‘title_li=&depth=1’) ?> and it displays my pages HOME About Contact but I would like it to display HOME | About | Contact. Can I add some code to the wp_list_pages() or does it need to put something in my stylsheet?

Viewing 1 replies (of 1 total)
  • misty9


    One of the ways is to tweak the Style.css. The following is a block of code from my Style.css. You can try to replace menu-bg.gif with the pipe bar icon file.

    #menu ul li a{
    padding: 10px 20px 10px 12px;
    background: url(images/menu-bg.gif) no-repeat;
    background-position: 0 13px;
    text-decoration: none;
    color: #FFF;
    display: block;

Viewing 1 replies (of 1 total)
  • The topic ‘How to add a “|” to header’ is closed to new replies.