Highlighting active sidebar menu item (4 posts)

  1. josecek
    Posted 2 years ago #

    I need help with highlighting items in sidebar menu. For example, I have this page: http://www.bindu-yoga.cz/bara/ and I want to higlight sidebar Item Bára (font-weight:bold;) automatically, without manually signing <li> tag with current command.
    Any suggestions?
    Many thx.

    {please mark even the smallest bits of code to keep the output intact - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

  2. josecek
    Posted 2 years ago #

    It's TwentyEleven WP theme.

  3. alchymyth
    Forum Moderator
    Posted 2 years ago #

    difficult as the sidebar menu seems to be a hand-coded html menu in a textwidget;

    try to recreate the menu with a custom menu ( http://codex.wordpress.org/Appearance_Menus_Screen ) using the 'custom menu' widget.

    btw: how did you add that sidebar?
    it is located after the closing body tag, making its location within the webpage invalid html:


  4. josecek
    Posted 2 years ago #

    Alchymyth, thx for your help - it works perfect. I know about wrong location of sidebar, I must debug it.

Topic Closed

This topic has been closed to new replies.

About this Topic