background color - click on menu burger / menu item
Hi!
When I click on the menu burger or on a menu item on my smartphone, the background color for this item switches to lightblue (for short time).
How can I get rid of this behaviour?
I tried this:
.menu_wrapper a:active{background-color:transparent!important;}
Didn´t work.
Thx in advance, Ciao!
Markus
Comments
Hi,
Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.
It is always a good idea to also attach a screenshot showing what you refer to.
Are you maybe using the Chrome browser?
Thanks
Here we go: https://temp.stromboli.at/
Sorry, but you did not answer about the browser.
I tested it with Firefox, and I did not notice any light blue on the click.
If you are using Chrome, you need to use the CSS property from the following link:
https://stackoverflow.com/questions/21003535/anyway-to-prevent-the-blue-highlighting-of-elements-in-chrome-when-clicking-quic
You can assign it to all <a> tags with the following CSS code:
Best regards
sry, forgot to tell, that it´s Chrome that I was using
you´re right, with Firefox I don´t see this behaviour
the proposed solution works like a charm, thx for this!!
Glad I could help. ?
Best regards