WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Widgets
[resolved] Highlight current page in custom menu? (3 posts)

  1. wilddoktor
    Member
    Posted 1 year ago #

    I *love* this plugin! Will donate when I get paid for the site. :-)

    Question: Can I somehow highlight the current page?

    For example: Say I'm on this page, which is nested a couple layers deep. I'd love for this specific page to be highlighted in the custom menu on the left; I think users would better see where in the site they currently are...I think it would be nicer than the breadcrumbs.

    Possible?

    Thanks!

    http://wordpress.org/extend/plugins/dynamic-widgets/

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    use the css class output by the custom menu;
    http://codex.wordpress.org/Function_Reference/wp_nav_menu#Menu_Item_CSS_Classes

    example:
    .current-menu-item a { font-weight: bold; }

  3. wilddoktor
    Member
    Posted 1 year ago #

    Brilliant! Thank you alchymyth!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic