-
JeremyL
I’ve noticed that my iPhone is auto linking the phone number in the top bar so it’s a clickable phone number to auto dial. The problem is, it is picking up my default link color which matches the top bar background color.
I have tried to edit the colro of the text to overide, but no matter what I do it’s coming in orange on orange, so you can’t see it.
https://www.crispstriping.com/
Recommendations?
-
JeremyL
Got it to work. Some weird work arounds though. Had to set the color at the container level because setting it at the text block level didn’t work.
-
Alvind
Glad to hear you got it resolved!
It’s not really a workaround—this behavior is expected due to CSS specificity. The text block was inheriting the container’s link color instead of the default content link color.
-
JeremyL
The container didn’t have a color before.
It seems to be because the “a” tag color is set in the WP customizer, overides the class given to the div container around the a tag as the div is where the system sets all the colors at the block level with the GB class.
Not sure how the section container overides the a tag color and the div tag class doesn’t but somehow it does.
-
You didn’t set a link color for the text block.
Try setting the color to the text block > link selector, it will override the link color set for
body
in customizer. -
JeremyL
I had tried that and it wasnt working. I just deleted everything and started over and that solution worked. So I guess I had some random setting somewhere on one of these selectors that was causing the issue. Oh well. Thanks for the help 🙂
-
You are welcome 🙂
- You must be logged in to reply to this topic.