Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sure Kubrik is great, but it is SOOO CLICHE!!!!! Every damn wp blog on the planet uses Kubrik. I have been reading Michael’s blog for a long time and he is awesome, but Kubrik is just to over used these days.

    Check out my site here.

    Thread Starter uscfan

    (@uscfan)

    NEVERMIND. With a little bit of patience I fixed it just fine. Thanks for responding everyone!

    Forum: Themes and Templates
    In reply to: Menu code
    uscfan

    (@uscfan)

    <id="active"><a href="#">Item one</a></li>
    <li><a href="#">Item two</a></li>
    <li><a href="#">Item three</a></li>
    <li><a href="#">Item four</a></li>
    <li><a href="#">Item five</a></li>

    Notice how ‘Item One’ has been given the id active, the style active contains the information to make that piece of the navigation higlighted. Basically, for each page, you would have to set the id of the bar to active and remove active from the other area. For instance, if you would like to switch to Page 2 and have it highlighted the code you would use is as follows:

    <li><a href="#">Item one</a></li>
    <li id="active"><a href="#">Item two</a></li>
    <li><a href="#">Item three</a></li>
    <li><a href="#">Item four</a></li>
    <li><a href="#">Item five</a></li>

    Notice how the first line no longer has the id=”active” and now the second line does. Now, if you mean, how can different pages in wordpress, such as ‘www.website.com/?page_id=2’, automatically highlight that button for that page, I don’t know how to do that, I tried. But possibly you coult look into the custom fields that wordpress allows. Check those out at https://codex.www.remarpro.com.

    Hope it helps!

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