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
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
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
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
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
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
This works, thanks Nikko!
we can close this thread
Hi!
Glad we could help :)
Regards,
Nikko