Hi guys, I have a website with a menu I've built that I would like to have the 'currently active' menu link displayed with a white background, you can see the site here: http://storestacker.eu/sd/ Currently I can only get the background color to work for hover. Any suggestions? Thanks
Hi there, Thank you for taking the time to reply, the problem with that though is that it will only apply to the Home page link and not other active links when users are viewing other pages.
You need to add that code on each page to the relevant link. Active only applies when you have just clicked the link, so you only see it for a very short sliver of time.
Okay, I think you may be misunderstanding what I'm asking, or I'm explaining it incorrectly. I have a hover style, what I want is when the top navigation link is clicked for it to have a background color of white for the time that page is viewed. This isn't a simple html site, it's based on Wordpress so uses <?php list_categories();?> to generate the links.
It's a webdesign/css issue though, the fact it's Wordpress has nothing to do with it, it still outputs unordered lists and list items. Okay, no problem, thanks for trying to help.