Support » Installing WordPress » highligts in a nav bar

  • well, I’ve played around with the codes and used liewcf’s code without much success with the highlighting [although his bar looks super cool]

    then i went to codex and followed the instructions, and succeeded making my own nav bar.

    but the problem is with the highlighting.
    what i mean by that is for example, i have 3 pages, when i click to the 1st page, the link to 1st page is red, when clicked to 2nd page, the 2nd page is red….and so on.

    I want mine to be highlight in RED too!

    Now, this is the code for my nav bar. can anyone tell me how to make it highlighted in the current page? [hope you get what i’m saying :)]

    <style type="text/css" media="screen">
    #navmenu ul {margin: 0; padding: 0;
    list-style-type: none; list-style-image: none; }

    #navmenu li {display: inline; }

    #navmenu ul li a {text-decoration:none; margin: 4px;
    padding: 5px 20px 5px 20px; color: #63AAE7;
    background: white;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-topleft: 6px;}

    #navmenu ul li a:hover {color: white;
    background: #63AAE7;
    -moz-border-radius-topright: 6px;
    -moz-border-radius-topleft: 6px;}


    <div id="navmenu">

    <li><a href="">Old Blahs</a></li>
    <li><a href="">Gallery</a></li>

Viewing 6 replies - 1 through 6 (of 6 total)
  • yup, i have followed the rules in both the codex in dynamic menu and horizontal, but can’t figure out why it isn’t working…

    or just, simply would appreciate if you could tell me where to insert the code and what code to inert. thanks very much.

    Unfortunately my English is not that eloquent as the Codex article, so you are better off if you really read that piece very carefully till the end. You’ll find all the answers to your questions. But you have to read the whole article…

    yup, i had, but i think the problem lies within my lack of knowledge in css stuffs…..

    if the highlighing is successful, i think more or less my blog layout is done.

    Even if you have no idea what css is… you just have to copy/paste from the Codex page I’ve linked.

    yup, i had….haha, but it didn’t work, perhaps i put it in a wrong location or whatever, and my aim putting the whole code i use for my present nav bar is to let you know what i did, and where to insert that highlighting code.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘highligts in a nav bar’ is closed to new replies.