Register or log in:



Hot Tags

Blog Oh! Blog Forums » Wordpress Themes

Big Blue menu

(5 posts)
  • Started 11 months ago by ririzarry
  • Latest reply from ririzarry

  1. ririzarry
    Member

    I just cut over to a heavily modified version of Big Blue on my guitar blog at http://buildingtheergonomicguitar.com. I'm very happy with the results.

    But I was wondering about one thing. In the navigation menu, only those menu items listed by wp_list_pages, stay highlighted when clicked on. The home page doesn't. How do I get the Home Page link to highlight when active?

    Thanks for your help and thanks for the theme!

    Posted 11 months ago #
  2. ririzarry
    Member

    Any thoughts, anyone?

    Posted 10 months ago #
  3. Hello ririzarry,

    Open up your header.php from the bigblue theme folder.

    Find this line:-

    <li><a href="<?php bloginfo('url'); 
    ?>">Home</a></li>
    

    Replace with this :-

    <li class="<?php if 
    (((is_home()) && !(is_paged())) 
    or (is_archive()) or 
    (is_single()) or (is_paged()) 
    or (is_search())) { 
    ?>current_page_item<?php } else 
    { ?>page_item<?php } 
    ?>"><a href="<?php echo 
    get_settings('home'); ?>">Home<?php echo 
    $langblog;?></a></li>
    
    Posted 10 months ago #
  4. ririzarry
    Member

    I've added the code and it looks great under Firefox and Opera but none of the nav buttons highlight under IE...

    Thanks for your help!

    Robert

    Posted 10 months ago #
  5. ririzarry
    Member

    Continued testing with the new code but it caused a few issues so I had to remove it.

    1. The code doesn't account for the theme's archive.php used for category content. When I click on a category, it highlights the Home navigation button rather than the Archives button.

    2. When I clicked my Contact nav button, nothing appeared after the header. As soon I removed the code, the contact page appeared again. Odd.

    Regards,

    Robert

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.

{ A Forum of Blog Oh! Blog }