WordPress.org

Ready to get started?Download WordPress

Forums

sidebar custom menu css (1 post)

  1. everyeurocounts
    Member
    Posted 1 year ago #

    I am trying to re-create a menu from http://www.fitnessfirst.co.uk/learn-about-fitness/ but the best i can do is to highlight the text on the active item using current_page_item / current-menu-item

    '
    #sidebar .widget { list-style:none; overflow:hidden; margin:0; }
    #sidebar .widget li { list-style:none; margin:0px 0px 30px; }
    #sidebar .widget ul { float:left; width:100%; margin:0px 0px 30px; }
    #sidebar .widget ul li { background:#fff; padding:5px 0px 5px 20px; margin:0px; border-bottom:1px dotted #ddd; }
    #sidebar li .current_page_item a: { background:#b66; padding:5px 0px 5px 20px; margin:0px; border-bottom:1px dotted #ddd; }
    #sidebar .widget ul ul { margin-left:1.3em; margin-bottom:5px; }
    #sidebar .widget ul ul ul { margin-bottom:0px; }
    #sidebar .widget .widget-title { margin:0px 0px 10px; }
    '

    its not a live site yet so no link...

    thank you

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by everyeurocounts
  • This topic is not resolved
  • WordPress version: 3.4.2