Archived topic
Default visited link color persists in dynamic headline element
5 replies · Started by George on April 19, 2021
I have created a block element for my post header and have adjusted color and hover link for my author name dynamic GB headline. I am noticing that once the author link is clicked, the author link displays in a white color white once a post is visited. After inspecting the element, I realized that it inherits a default white color as a visited color which is not ideal. Why not just remove visited default links from the theme altogether(if there is no possibility to set it from the Customizer)? In any case, this is a headline element and it shouldn't normally be affected?
Hi there,
Can you link us to a sample page in question? So we can inspect what seems to be causing the issue.
Also, please temporarily disable any caching/optimization plugin so we can see the CSS source.
Let us know. :D
I am attaching a link. Visit a post and click on the author page. Then, come back to a post. The link on the author page will display as white, which seems to be the visited color. GB seems to be adding a default while color for the visited link for as far as the content template goes. Same for the category link above the pot title but this one is under a dark background.
I am attaching a link. Visit a post and click on the author page. Then, come back to a post. The link on the author page will display as white, which seems to be the visited color. GB seems to be adding a default while color for the visited link for as far as the content template goes. Same for the category link above the pot title but this one is under a dark background.
The color is from the CSS generated from the Link color set on the Container Block.
Any reason why you've set the link color on the container block rather than applying it directly to the text blocks? Let us know. :)
Ah! I modified a GPP 2.0 template and it had those settings for the container which I forgot to remove. Glad to know it was that simple.
Thank you, Elvin!
No problem. Glad you got it sorted. :)