Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Auto linking of phone number on mobile causing color issues

  • 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?

  • 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.

  • 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.

  • 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.

  • 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   🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.