Linked text: Link color option inconsistent across themes
Steps to reproduce the behavior
- Create a paragraph/heading. Check the original colors in the frontend.
- Make sure you also link the paragraph/heading. Check the link color now. it should remain the same.
- Next, make sure you change the Link color option:
Direct Link: https://d.pr/i/MTARPC
- 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:
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
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:
Custom colors change the color in the editor:
But not on the site:
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.
Another case in 3838269-zen where the link color remains white whatever we chose.
Theme Shawburn.
A similar case in 29307623-hc with the Blank Canvas theme.
@jeffikus is this an All-Themes issue relating to our Custom Colours work?
Another one in 3963347-zen with Shawburn theme
Another one in #4012492-zen - Morden theme.
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.