Options

change parameter of the active menu and submenu item

EtienneEtienne Registered Users Posts: 70 Big grins

Hi,

I use this CSS code to make the menu nav bar item for the active page different
.sm-page-widget-nav-activepage {
display:block;
/* background: rgba(255,190,0,1);*/
border-width:0px 0px 2px 0px;
}

and this for the parent menu nav bar for the active page
/* Make the parent menu nav bar text for the active page a different color */
.sm-page-widget-nav-hasactivepage {
display:block;
border-width:0px 0px 2px 0px;
}

I would like the same for the submenu item active page ( go down one level)
something like this :)
.yui3-menu-label.sm-page-widget-nav-activepage and .yui3-menu-label.sm-page-widget-nav-hasactivepage

is it possible ?

Thanks
Etienne

Comments

  • Options
    Hikin' MikeHikin' Mike Registered Users Posts: 5,450 Major grins

    @Etienne said:
    Hi,

    I use this CSS code to make the menu nav bar item for the active page different
    .sm-page-widget-nav-activepage {
    display:block;
    /* background: rgba(255,190,0,1);*/
    border-width:0px 0px 2px 0px;
    }

    and this for the parent menu nav bar for the active page
    /* Make the parent menu nav bar text for the active page a different color */
    .sm-page-widget-nav-hasactivepage {
    display:block;
    border-width:0px 0px 2px 0px;
    }

    I would like the same for the submenu item active page ( go down one level)
    something like this :)
    .yui3-menu-label.sm-page-widget-nav-activepage and .yui3-menu-label.sm-page-widget-nav-hasactivepage

    is it possible ?

    Thanks
    Etienne

    Like this?

    .sm-user-ui.yui3-menu-vertical .sm-page-widget-nav-hasactivepage {  
        border-bottom: 2px solid #ffa500;
        } 
    
  • Options
    EtienneEtienne Registered Users Posts: 70 Big grins

    perfect, I will use :
    sm-user-ui.yui3-menu-vertical .sm-page-widget-nav-hasactivepage and .sm-user-ui.yui3-menu-vertical .sm-page-widget-nav-activepage
    for the whole hierarchy

    Thanks

Sign In or Register to comment.