Archived topic
Clicked colored link in post becomes un-colored
12 replies · Started by tbgr on February 26, 2020
Hello.
I'm using the Marketer theme.
When I link some word(s) in a post to an article in a different web site -- to be opened in a new window -- that link is colored blue.
After clicking the link, the blue color disappears. You wouldn't know there was a clickable link there unless you hover the cursor over it. AND ... if you click anywhere on the page -- other than the link -- the link turns blue again!
How do I keep a clicked link from "losing its color" to indicate that this is indeed "clickable"?
[You can see an example of this in the post indicated in the URL below]
Thank you.
Hi there,
Any chance you can do this first so I can see the code source better?
https://www.screencast.com/t/O3NDJ5fyH0N
Thanks :)
Hi, Leo.
I don't have any caching plugins installed.
Thank you.
That's strange - I'm seeing this line in the source code:
https://www.screencast.com/t/4NORo46oGNH6
Can you double check?
https://stackoverflow.com/questions/45574915/wordpress-endurance-cache
Leo:
I DID have that HostGator "Endurance Page Cache" installed. I just disabled it.
Thank you.
Hmm I'm still seeing Endurance page cache activated.
Anyways, try adding this CSS:
a:hover, a:focus, a:active {
color: #1b78e2;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
You will need to make sure the cache is cleared before seeing the changes
Hi, Leo.
That Endurance page cache WAS disabled when I checked it this morning.
I then installed the CSS you provided and that fixed the problem.
I cleared the cache again and then enabled the Endurance plugin and the problem was still solved.
So thank you, as always, for the GREAT customer service!
No problem :)
This is an issue I had a few years ago with a different website.
I'm building a new website and am having the same issue: When I link some word(s) in a post to an article in a different website — to be opened in a new window — that link is colored blue.
After clicking the link, the blue color disappears. You wouldn’t know there was a clickable link there unless you hover the cursor over it.
You can see an example of this in the second paragraph here: https://golfsatire.com/2022/08/24/jason-gore-to-comfort-pga-tour-players/
I tried adding the CSS recommended on Feb. 26, 2020 and cleared the cache. That didn't work.
How do I keep a clicked link from “losing its color” to indicate that this is indeed “clickable”?
Thank you.
Hi there,
Can you go to customizer > colors > body > link, and make sure the hover color is set?
https://www.screencast.com/t/lexPSn3zM4Bo
My, mistake! I changed the hover color and now it's working.
Thank you!
You are welcome :)
False alarm! I deleted the paragraph in question and re-typed it. All is well now. Thank you.