Hello,
Trying to change the phone number section to white only on desktop. This code doesn’t work. What am I doing wrong?
@media only screen and (min-width: 769px) {
div.phone-info {color: #ffffff !important; }}
Thank you!
Hey Brad,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan Shannon
Hi Jordan, I’ve put the link in the private content section.
Thank you!
Hi,
Just forgot the a selector. Add this to quick css:
@media only screen and (min-width: 769px) {
div.phone-info a {color: #ffffff !important; }}
Best regards,
Jordan Shannon
Thank you! The only remaining issue is that it remains white when you scroll down the page. Is there any way to make it go black when you scroll down?
Thank you!
– Brad
PS : i would take for min-width on enfold always the even numbers
and: for max-width the odd numbers.
All definitions on Enfold css follow that setting – especially those on 768 and 990
so maybe better to use that switch point for your setting too.
@media only screen and (min-width: 768px) {
div.phone-info a {color: #fff !important; }
#header.header-scrolled div.phone-info a { color: #000 !important }
}
Hi,
Thank you Guenni!
Best regards,
Jordan Shannon