WordPress.org

Ready to get started?Download WordPress

Forums

Highlighting active sidebar menu item (4 posts)

  1. josecek
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    It's TwentyEleven WP theme.

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year 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:
    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bindu-yoga.cz%2Fbara%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    http://codex.wordpress.org/Validating_a_Website

  4. josecek
    Member
    Posted 1 year 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