Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1231402

    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!

    #1231411

    Hey Brad,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1231418

    Hi Jordan, I’ve put the link in the private content section.

    Thank you!

    #1231431

    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

    #1231452

    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

    #1231455

    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 }
    }
    #1231460

    Hi,

    Thank you Guenni!

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.