E
E
Evgeny Efimchenko2019-04-29 10:58:02
css
Evgeny Efimchenko, 2019-04-29 10:58:02

Why different text color on Safari iOS?

Good time of the day. Stopbox34.ru
project on joomla 3.7.4 Has phone numbers in the header and they are white. And everywhere they are white except on Safari iOS there they are almost black! Everything is complicated by the impossibility of testing with regular means, since they give out white color and only dark on the phone. Tested on different models of iphone, the result is the same. The style is set like this:

font-size: 18px;
    line-height: 1.2em;
    display: inline-block;
    pointer-events: none !important;
    color: white !important; /* был и #fff */
    cursor: default !important;
    text-decoration: none !important;

Just some kind of game! If who faced that prompt.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lamer350, 2019-04-29
@clean_code

All because on mobile devices - phones are automatically recognized and links to them are generated by the browser.
Just in css where you have .header_contacts p write like this: .header_contacts p, .header_contacts pa
Thus, apply the style to the links that the browser generates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question