MyBB Community Forums
Change the colour of user posted links in a thread automatically? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Change the colour of user posted links in a thread automatically? (/thread-216156.html)



Change the colour of user posted links in a thread automatically? - ChrisF999 - 2018-03-02

So I am having a problem where links are automatically set to white (the same colour as the background of the site).
Example: https://kraken-gaming.000webhostapp.com/showthread.php?tid=131
Any help would be appreciated.


RE: Change the colour of user posted links in a thread automatically? - .m. - 2018-03-02

you can add below at the bottom of global.css of the theme
.post_content a:link {color: blue;}

note: edit the stylesheet in forum admin panel (through themes section) AND in advanced edit mode (tab)

remember hard refreshing your browser [eg. press CTRL + F5] on a topic page after saving changes to the stylesheet


RE: Change the colour of user posted links in a thread automatically? - ChrisF999 - 2018-03-02

Thank you good sir this has fixed my problem.

I have have found that when you view the links they then turn white again


RE: Change the colour of user posted links in a thread automatically? - .m. - 2018-03-02

you can also add below at the bottom of global.css
 .post_content a:visited {color: brown;}



RE: Change the colour of user posted links in a thread automatically? - ChrisF999 - 2018-03-02

My thanks.