Support » Fixing WordPress » Highlight current page in sidebar widget
7 years, 6 months ago
Is there any way to highlight the current (active) page or post in the sidebar nav widget using css?
If your theme puts this item in a separate class — yes.
ps. That theme, which i’m using, puts class="current_page_item" for current item. Probably, not the theme does this, i’m using Flexi Pages widget… Sorry for the noise, if any.
Thanks. Im getting somewhere with it. Found ‘current_page_item’ but still cant get it to work properly.
In you stylesheet:
Or what’s the question?-)
To highlight the current page look at http://wordpress.org/extend/plugins/instant-web-highlighter/
and to have those highlights appear in the sidebar see