Difficult CSS code – Is it possible?
-
I am using twenty twelve. I am having an issue with the current_page_item. I want the page selected in the menu to be inclosed in [ ] like my favicon. For example you click to the home page and it would then look like [HOME]
Is it possible to code CSS to do this? I have been learning as I go but can’t locate any information on it, mainly because I don’t know how to word it!
At the moment I have
.main-navigation .current-menu-item a, .main-navigation .current-menu-ancestor a, .main-navigation .current_page_item a, .main-navigation .current_page_ancestor a {text-decoration:underline;}
So my current page has an underline.
Please help me out if you can its one of the last things I want to do with my site!
- The topic ‘Difficult CSS code – Is it possible?’ is closed to new replies.