-
AuthorPosts
-
July 18, 2013 at 3:33 am #26376
Hi Hi,
I have been trying for some time, but unfortunately I cant fix it and I need help.This is the thing. I have made a sidebar including 2 levels menu.I made that by creating pages and defining page hierarchy and selected parent pages. So now I have a menu consisting of three main categories. Each of them contains 5-7 subcategories. Anyhow I m not satisfied by the current look…I want to edit the css for this side bar… All I need is to make the main categories with this color:#b22147 and bold. Once you click on the main category it will change to black. This applies for the subcategories as well(they will be black)…If you click to the subcategories, the current link will be bold and black, and the main category will change to the previous color #b22147. Take a look at the following link http://www.oxfam.org.uk/what-we-do/the-impact-of-our-work. Thats how I want to do it (but color:b22147 instead of the green). Size wont be changing!!!
Thank you very much for your help!I really appreciated !
July 19, 2013 at 2:27 am #130187Hi golence,
We’ll need to see a page live with the menu in place. It should be doable with a bit of css but if the selectors aren’t already in place it may take a few extra steps.
Regards,
Devin
July 30, 2013 at 6:27 am #130188HEJ HEJ..The thing is I m working locally for some reasons…i dont even know why…:)Anyhow I m not changing anything at the menu…it is like it is on the template…the position, fonts ect…I just need to change the color of what is already set up there..As i can see it is the class nested_nav and children that should be changed to fit my requirements…Do you think you can help?
July 31, 2013 at 8:37 pm #130189Your best route would be to inspect the code generated using dev tools (either Firebug or Chrome’s inspect element) and then you can target what you need.
IE:
#top .widget_nav_menu li.current_page_item a {
color: red;
}The selector will always start with #top .widget_nav_menu and then its just a matter of if you want to also get the list item with a specific class or another sub element after that.
-
AuthorPosts
- The topic ‘Sidebar menu’ is closed to new replies.