Hello,
i would like to have custom title in my menu (in sidebar)
http://epsu-cj.eu/notre-participation/
EPSU AU CDP (in the left sidebar) is a category (no linked pages) i want to attribute the above css
.catego {
font-weight: bold;
border-style: dotted;
border-color: #cccccc;
border-top-width: 1px;
border-bottom-width: 1px;
background-color: #fafafa;
}
I have entered “catego” in Title Attribute in the menu structure (http://imgur.com/OkC1dlw)
How to attribute the css ?
Is this the right way ?
Ok i found the solution :
I used “CSS Classes (optional)” in menu a use the following css
.main_color .widget_nav_menu ul:first-child>.catego, .main_color .widget_nav_menu ul:first-child>.catego {
color: #5c5c5c;
border-top-width: 1px;
border-bottom-width: 1px;
border-style: dashed;
}
.widget_nav_menu ul:first-child>.catego, .widget_nav_menu ul:first-child>.catego, .widget_nav_menu ul:first-child>.catego-ancestor {
width: 100%!important;
padding-right: 52px;
padding-left: 0;
left: auto;
top: 1px;
}
Seems to be ok