4 replies [Last post]
webman81
webman81's picture
Offline
Regular
Last seen: 5 years 12 weeks ago
Timezone: GMT+2
Joined: 2012-03-26
Posts: 16
Points: 28

http://www.karlvangeert.be/

Please resize the browser until it's very very small (like iPhone small)

Then you will see that the menu changes from horizontal to vertical

I want to change the background to blue when an item is selected.
This does not work. Does anyone have any idea??

These CSS lines SHOULD do the trick, but they don't work:

    .menu ul li:hover, .menu ul li:active{
        background: #007cb5;
    }
 
    .menu ul li:hover a, .menu ul li:active a{
        color: #fff;
    }

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 day 1 hour ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9772
Points: 3854

Unable to replicate

Tested in Firefox. Is this occurring in a particular browser or phone? Have you cleared cache?

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 2 days 12 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Working fine for me as well

Working fine for me as well in Chrome.

VeeraM
VeeraM's picture
Offline
Enthusiast
bangalore
Last seen: 5 years 1 week ago
bangalore
Timezone: GMT+5.5
Joined: 2014-09-22
Posts: 59
Points: 59

active and focus

hi the active menu hover and focus functions are mostly used in a:hover; is working but your website not working used ti a.hover functions are already used this function again used to !important from this css,.

VeeraM
VeeraM's picture
Offline
Enthusiast
bangalore
Last seen: 5 years 1 week ago
bangalore
Timezone: GMT+5.5
Joined: 2014-09-22
Posts: 59
Points: 59

active and focus

hi the active menu hover and focus functions are mostly used in a:hover; is working but your website not working used ti a.hover functions are already used this function again used to !important from this css,.