
-
AuthorPosts
-
May 28, 2019 at 4:16 pm #1104892
Hi,
wir haben ein gradient Darstellungsproblem im Safari & IE Browser.
es betrifft die Klasse
h2 .av-special-heading-tag
Diese wird von beiden Browsern falsch interpretiert. Hierzu bin ich auf der Suche nach einer Lösung
Auf dem Safari Browser wird diese überhaupt nicht dargestellt bzw ist nicht sichtbar. erst nach markieren und hovern ist diese sichtbar. Im safari browser sollte das darstellen des gradients ja möglich sein.
Im Internet Explorer wird es auch falsch dargestellt bzw hat einen blauen Hintergrund.
Aber der IE kann ja auch kein gradient darstellen, wenn ich richtig informiert bin.Was wäre hier die optimale Lösung um alle Browser abzudecken?
Habe versucht die Browser direkt anzusprechen
Beispiel IE:@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { h2 .av-special-heading-tag { background-color: red; } }
Im Safari Browser dachte ich die Lösung könnte sein, auf display inline umzustellen.
Leider hat bisher nichts gegriffen.
Vielen Dank im Vorraus
May 29, 2019 at 11:17 am #1105100push
May 29, 2019 at 11:58 am #1105105Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
CSS Snippet:
#top #wrap_all .av-inherit-size.highlight-gradient .av-special-heading-tag { -webkit-background-clip: text; }
Best regards,
YigitMay 29, 2019 at 1:14 pm #1105132Hey Ygit,
thx for your help. i tried it,but nothing is happening.
May 29, 2019 at 1:28 pm #1105135Hi,
Code is currently not being applied. Please try flushing cache in your cache plugin and refresh your page a few times. If that does not help, please post temporary admin logins here privately so we can look into it.
Best regards,
YigitMay 29, 2019 at 1:53 pm #1105149it is still not working.
thx
May 29, 2019 at 3:04 pm #1105177Hi,
I added the code to Enfold theme options > General Styling > Quick CSS and it worked. Please review your website.
Best regards,
YigitMay 29, 2019 at 3:21 pm #1105180Thanks Yigit,
its working now for Safari, but what can i do about IE?
any suggestions?Greets
May 29, 2019 at 3:33 pm #1105186ok this is strange
you changed it on the test site
i added the code in the live site in enfold child style.css
but it is still not working there. what i am doing wrong?May 29, 2019 at 5:13 pm #1105199Hi,
Please try changing the code to following one
#top #wrap_all .av-inherit-size.highlight-gradient .av-special-heading-tag { -webkit-background-clip: text !important; }
If that does not help, please post logins of live site as well so we can check it :)
Best regards,
YigitMay 29, 2019 at 5:24 pm #1105210i also tried with !important. but it wont use the css.
im really feeling dumb at the moment.May 29, 2019 at 6:46 pm #1105237Hi,
I simply flushed cache and it worked. Please flush browser cache and review your website :)
Best regards,
YigitJune 3, 2019 at 2:15 pm #1106708Yigit do you have any suggestions for Internet Explorer?
Greets
June 3, 2019 at 5:10 pm #1106757it has still that blue background instead of a gradient. it dont has to be the gradient. is there a way for a fallback method for IE? so that the text is just black ?
This would be nice.
Greets
June 4, 2019 at 10:04 am #1106964Hi,
I am on a Mac therefore i could not test your website on IE. I asked my teammates to check the thread :)
Best regards,
YigitJune 4, 2019 at 12:30 pm #1107058thx :)
June 5, 2019 at 11:27 am #1107482push :)
June 5, 2019 at 8:34 pm #1107740Hi,
Pushing or replying inside, does not get it back to our attention, just so you know! :D
Best regards,
BasilisJune 6, 2019 at 10:47 am #1107888ok sorry!
i just recognized, that on Microsoft Edge my whole h2 with gradient is invisible.
so i need to fix it for edge and internet explorer.greets
June 6, 2019 at 11:36 am #1107899as it seems i am on the right way. in edge development tool i tried :
background-image: linear-gradient(90deg, rgb(81, 180, 219), blue, rgb(81, 180, 219));
and it is showing my text again.
but when i do :
#top #wrap_all .av-inherit-size.highlight-gradient .av-special-heading-tag {
-webkit-background-clip: text !important;
background-image: linear-gradient(90deg, rgb(81, 180, 219), blue, rgb(81, 180, 219));
}nothing is happening, also after empty cache.
June 10, 2019 at 12:44 am #1108717Hi,
Sorry for the late reply, I’ve been testing gradient text with IE11, and I have found that the css used for this effect doesn’t work in IE11. To see please check out this site
with Chrome or Edge:
with IE11:
Best regards,
MikeJune 24, 2019 at 10:22 am #1112862thx mike.
but is there a way to do a fallback solution only for IE and Edge?
i would like to show it without gradient then. but actually you will see no headline when you are on Edge. So i need to solve it without loosing my style for all other browsers.thx in advance
Tom
-
This reply was modified 5 years, 10 months ago by
muthman2.
June 25, 2019 at 3:41 am #1113091Hi,
You can add an actual image or svg instead of text. Unfortunately, that property is not supported on IE.
// https://codepen.io/brenna/pen/mybQVx
Thank you for the update.
Best regards,
IsmaelJuly 4, 2019 at 12:02 pm #1115724Hey Ismail,
thx for your help. but i dont want to do it with svg.
its working on every browser except Edge
Fun Fact: i tried Microsoft Edge Dev on my Macbook and there its also working.
so what i need is just a fallback solution for Edge on Windows.Is there no way to set a specific css rule that only happens for Edge?
i tried
@supports (-ms-ime-align: auto) {
.selector {
color: red;
}
}but it doesnt work.
any more suggestions for that?
greets
Tom
July 5, 2019 at 10:42 pm #1116098Hi,
To only target the Edge browser:@supports (-ms-ime-align:auto) { your_css { your: rule; } }
For IE11:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { your_css { your: rule; } }
Best regards,
MikeJuly 8, 2019 at 12:35 pm #1116643i tried that, but it is not working.
July 9, 2019 at 3:26 am #1116850July 9, 2019 at 12:39 pm #1117028@supports (-ms-ime-align: auto) {
.selector {
color: red;
}
}i tried different rules for Edge, but nothing happens. as i wrote in my post before
July 9, 2019 at 1:25 pm #1117046Hi,
Thank you, as I inspect your element I find that the “-webkit-text-fill-color” in use is not a standard and not supported in IE browsers. I believe that this css will correct:@supports (-ms-ime-align:auto) { .highlight-gradient { -webkit-text-fill-color:red !important; } } @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { .highlight-gradient { -webkit-text-fill-color:red !important; } }
But I couldn’t login to test it, please check the admin login so I can test and adjust this if needed.
Best regards,
MikeJuly 10, 2019 at 11:38 am #1117385Hey Mike,
I tried it but also not working.
i added a new admin login , so you can try.thx
Tom
-
This reply was modified 5 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.