Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #724289

    Hello team

    I have created a sub-page, where I am listing the contact phone numbers within the content area – http://klubaktivnehomyslenia.sk/cestovna-kamcelaria/.

    These would come as white color by default, however I was able to change the color to blue for desktops version via HTML editor of the text block. But this is not reflecting on mobile devices where these phone numbers still appear as white color.

    Is there any custom CSS I can add to make these phone numbers links appear blue also on mobile devices?

    Thanks a lot
    Martin

    #724291

    Hey!

    Please try adding following code to functions.php file in Appearance > Editor

    function avia_turn_off_detection(){
    echo '';
    }
    add_action('wp_head', 'avia_turn_off_detection');

    Regards,
    Yigit

    #724335

    hi Yigit

    unfortunately this didn’t work.
    Although I was only able to find file FUNCTIONS-ENFOLD.PHP andf that is where I added the code suggested by you, but no luck and I can still see the phone number links with white color on mobile..

    Thanks
    Martin

    #724340

    Hey!

    Please add the code to functions.php file and not functions-enfold.php file. They are two different files.
    If that still does not help, please create a temporary admin login and post it here privately.

    Cheers!
    Yigit

    #724364

    Hi Yigit
    I manage to find functions.php and inserted-saved the code there, still no luck to have blue color of phone numbers on mobile..
    Please see the admin login info in pvt content.

    Thanks!
    Martin

    #725495

    Hi,

    Try adding this code in Quick CSS (located in Enfold > General Styling):

    @media only screen and (max-width:767px) {
      .avia_textblock p span a {
        color: blue !important;
      }
    }

    Let us know if it helps :)

    Best regards,
    Nikko

    #725500

    This works, thanks Nikko!
    we can close this thread

    #725714

    Hi!

    Glad we could help :)

    Regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Phone number links change of color on mobile’ is closed to new replies.