How To Make Links Stay Black After Clicking On One Page Only - Question | JoomShaper

How To Make Links Stay Black After Clicking On One Page Only

SC

Shirley Craig

Helix Framework 1 year ago

I have one page that I need to style the text links so they stay black after clicking. When you first come to the page the links are black but after clicking on them they all turn orange when I come back to the page. How to make them stay black after clicking and coming back to the page? It's fine if the hover state is blue that shows it's a link but the orange is not wanted. https://screenrec.com/share/nhlVj5I2LY Thank you.

0
1 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 year ago #101970

Hi there!

You may try the following cod in your custom CSS:

body.itemid-53 .article-details Span>a, body.itemid-53 .article-details Span>a:focus, body.itemid-53 .article-details Span>a:active {
    color: #000000;
}
body.itemid-53 .article-details Span>a:hover{
    color: blue;
}

Note: Path towards custom CSS(Joomla 3): Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Hope this helps anyways.

Best Regards

0