1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Creating a menubar (navbar) for WordPress

Discussion in 'HTML & Website Design' started by Zhu, Nov 10, 2007.

  1. #1
    Hi there,

    I'm currently using the menubar plugin to show a menu on my blog (link below in my signature).

    I recently found this great tutorial : advance CSS menu

    So I made the graphic but I'm stuck with a reall silly thing.

    At the beginning of the tutorial, the author says :

    I understand I have to put the CSS in the main CSS file of my blog... but where to I put the part I put in bold, right above ?

    CSS as well ? Php file ?

    Thanks a lot !
     
    Zhu, Nov 10, 2007 IP
    kiviniar likes this.
  2. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #2
    Probably in header.php or sidebar.php (depending whether its a horizontal or vertical menu)


    BP
     
    blueparukia, Nov 10, 2007 IP
  3. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #3
    It's an horizontal menu... ;)
     
    Zhu, Nov 10, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Actually the location (within the template system) doesn't matter if the theme was constructed properly (and you know how to use floats and negative margins properly). But in your case, look for the function wp_list_pages() and replace that with your custom menu (since you don't want the menu to be duplicated). As blueparukia said, it'll either be in your header.php or sidebar.php file.
     
    Dan Schulz, Nov 11, 2007 IP
  5. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #5
    I'll put it in the header.php and it worked fine.

    Thanks for your help!
     
    Zhu, Nov 12, 2007 IP