WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Menu items won't highlight (4 posts)

  1. CforCasual
    Member
    Posted 11 months ago #

    Hello,

    The problem I am having is on my first portfolio site at chrisbooth.me. The main menu at the top is a menu I defined in the admin panel that includes "Me", "Portfolio", "Blog," and "Contact." The problem is that when viewing a page deeper than the 1st page, the correct menu item won't highlight. So for instance, when viewing the home page, "Me" is highlighted. But when viewing a portfolio piece or blog post, there isn't anything highlighted.
    When I view the source code, I see classes that appear to be the key to highlighting the correct item, like "current-menu-item" and "current-page-item." When on a portfolio piece or blog post, those classes aren't there.
    Previously, the situation was that all pages were highlighted, but individual portfolio pieces and categories had "Blog" incorrectly highlighted, and not "Portfolio." This changed when I activated the 2012, and then the 2013 theme, and then reactivated my theme. It is progress, but now I want to get it to highlight correctly.
    I am guessing this is a PHP issue, since the "current-menu-item" isn't being correctly applied? I have my own style sheet of course, and I use Firebug to experiment, but I can't seem to specify a highlight via CSS. I'm worried that, even though in the Dashboard panel, there were separate sections for adding blog posts and adding portfolio items, there isn't correct code to distinguish the posts from the portfolio pieces.

    For reference I am using:
    Wordpress 3.6
    A child theme of a theme called Whitelight (from WooThemes)
    GoDaddy.com hosting
    an FTP called Transmit

    I've looked at many different sites and forum posts, but none seem to match up enough or have solutions that work for me. (Pages like this, this, and this.) I consider myself pretty proficient in HTML and CSS, but I really know absolutely nothing about how to write PHP. It's very embarrassing to admit. But if you know of any solution in the PHP, I would really appreciate explaining it in the simplest and most detailed way.

    Thanks very much in advance, I appreciate any and all help!

    (P.S. sorry this is so long I just want to be as specific as possible.)

  2. lettergrade
    Member
    Posted 11 months ago #

    Hey @CforCasual, you'll be able to find specific help for this at the WooThemes Support area.

    At wordpress.org, we don't provide support for commercial themes, we leave that to the developers responsible. But good on you for digging into it!

  3. CforCasual
    Member
    Posted 11 months ago #

    Drat. I ask here because I have lost my WooTheme account credentials, and apparently you must have them to be able to access their help desk. Oh well.

    Thank you.

  4. lettergrade
    Member
    Posted 11 months ago #

    No problem. :( Good luck!

Reply

You must log in to post.

About this Topic