wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

Linked text: Link color option inconsistent across themes

Open Robertght opened this issue 4 years ago • 7 comments

Steps to reproduce the behavior

  1. Create a paragraph/heading. Check the original colors in the frontend.
  2. Make sure you also link the paragraph/heading. Check the link color now. it should remain the same.
  3. Next, make sure you change the Link color option: https://d.pr/i/MTARPC Direct Link: https://d.pr/i/MTARPC
  4. Observe the results in the editor and on the published page/post. In most cases, having the Link color set to something else than the default one will render the links blue because of this CSS

Code:

https://d.pr/i/b5KpWk Direct Link: https://d.pr/i/b5KpWk

The Link color option is respected in the editor.

What I expected to happen

To have the color link set to the one selected in the editor.

What actually happened

Testing this with multiple themes, I noticed that if I change the Link color, sometimes it works and sometimes it doesn't. I wasn't able to find a pattern.

Themes I tested with: Blank Canvas(the original case) TwentyTwenty-One, Hever.

Browser / OS version

  • Chrome 89, MacOS X Big Surr

Is this specific to the applied theme? Which one?

It's not consistent. Sometimes it works, other times it doesn't.

Does this happen on simple or atomic sites or both?

This can be seen only on WordPress.com sites(simple) I couldn't see this option on a self-hosted site.

Is there any console output or error text?

No.

Level of impact (Does it block purchases? Does it affect more than just one site?)

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Inconsistent across themes.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

  • Added above

Robertght avatar Mar 19 '21 19:03 Robertght

I ran into this on 28383204-hc which is AT - Blank Canvas theme.

I tested this further.

Simple site using Blank Canvas and Twenty Twenty-One:

The preset color options don’t change the color at all:

https://d.pr/i/MwsvDT

Custom colors change the color in the editor:

https://d.pr/i/ypfqi9

But not on the site:

https://d.pr/i/YmAlQc

AT site using Blank Canvas and Twenty Twenty-One:

The custom colors did work in the editor and the site, the preset color options didn't work however.

mikeicode avatar Mar 22 '21 16:03 mikeicode

Another case in 3838269-zen where the link color remains white whatever we chose.

Theme Shawburn.

Robertght avatar Mar 24 '21 06:03 Robertght

A similar case in 29307623-hc with the Blank Canvas theme.

metabreakr avatar Apr 29 '21 16:04 metabreakr

@jeffikus is this an All-Themes issue relating to our Custom Colours work?

ianstewart avatar May 04 '21 18:05 ianstewart

Another one in 3963347-zen with Shawburn theme

MaxPhilip avatar May 16 '21 07:05 MaxPhilip

Another one in #4012492-zen - Morden theme.

ivan-ottinger avatar May 24 '21 12:05 ivan-ottinger

This issue is stale because 180 days have passed with no activity. If you would like this issue to remain open, please provide additional context, updated reproduction steps and/or screenshots.

If the issue is not updated in another month, it will be automatically closed.

github-actions[bot] avatar Jun 16 '25 18:06 github-actions[bot]