WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Accordion Menu Widget
[resolved] Active link issue (2 posts)

  1. Moonclamp
    Member
    Posted 1 year ago #

    I thought I'd sussed this, but for some reason it still isn't working.

    The issue is the bit at the bottom ... the text in the active links are supposed to stay red, but they don't - they stay in the normal state. The hovering works fine.

    This is either a conflict with some other css, or my coding is a bit poo - probably the former.

    This is my css, based on the black theme ... Anyone got a clue?

    #dc_jqaccordion_widget-%ID%-item{font: bold 13px Arial, sans-serif;}
    
    #dc_jqaccordion_widget-%ID%-item ul, #dc_jqaccordion_widget-%ID%-item ul li {margin: 0; padding: 5px 5px 20px 1px; border: none; list-style: none;}
    
    #dc_jqaccordion_widget-%ID%-item ul a {padding: 7px 7px 7px 10px; background: #000 url(skins/images/fade.png) repeat-x 0 0; text-decoration:none; display: block; color: #fff; font-weight: bold;border: 0px solid #111111; border-radius: 5px; -moz-border-radius: 5px;}
    
    #dc_jqaccordion_widget-%ID%-item ul ul a {background: #000000;}
    
    #dc_jqaccordion_widget-%ID%-item ul a.dcjq-parent, #dc_jqaccordion_widget-%ID%-item ul a.dcjq-parent:hover {background: #000 url(skins/images/fade.png) no-repeat 0 0; font-weight: bold; color: #fff;}
    
    #dc_jqaccordion_widget-%ID%-item ul a:hover {background: #3f3e3e url(skins/images/fade.png) repeat-x 0 0;; text-decoration:none; display: block; color: #ff0000;}
    
    #dc_jqaccordion_widget-%ID%-item ul a.dcjq-parent, #dc_jqaccordion_widget-%ID%-item ul a.dcjq-parent:active {background: #000 url(skins/images/fade.png) no-repeat 0 0; font-weight: bold; color: #ff0000 !important;}
    
    #dc_jqaccordion_widget-%ID%-item ul a:active {background: #3f3e3e url(skins/images/fade.png) repeat-x 0 0; text-decoration:none; display: block; color: #ff0000 !

    __________________________________________________________________

    http://wordpress.org/extend/plugins/jquery-vertical-accordion-menu/

  2. Moonclamp
    Member
    Posted 1 year ago #

    No worries, fixed it myself by using this:

    #dc_jqaccordion_widget-%ID%-item li.current_page_item a{background: #000000 url(skins/images/fade.png) repeat-x 0 0;; text-decoration:none; display: block; color: #ff0000 !important;}

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic