MyBB Community Forums

Full Version: How do I change the colour of links
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there how can I change the colours of links that users post in their threads (EX. www.example.com)



Any help would be appreciated

Thanks,

TheBlackNight
You would need to edit the .css, but I am not sure where that is.
I know where it is whats the name of the thing I should be looking to edit.
a:link {
	color: #222222;
	text-decoration: none;
}

a:visited {
	color: #222222;
	text-decoration: none;
}

a:hover, a:active {
	color: #222222;
	text-decoration: none;
}

That is what I have in my CSS, and they are usually at the top of the page. You should be editing in the Admin CP, and not though your file manager.
(2010-06-25, 06:34 AM)radioactive Wrote: [ -> ]
a:link {
	color: #222222;
	text-decoration: none;
}

a:visited {
	color: #222222;
	text-decoration: none;
}

a:hover, a:active {
	color: #222222;
	text-decoration: none;
}

That is what I have in my CSS, and they are usually at the top of the page. You should be editing in the Admin CP, and not though your file manager.

Already tried that one to no avail it just changes some link colours (Like view todays posts which I dont want) I only want to change the colour of link that are displayed within a thread
<body link="blue" alink="black" vlink="black" hlink="black">

If you want to change the links for a specific topic, you would need to enable HTML, and change that. You are wanting this global?
Hmmm you dont seem to get me, Can any one else suggest any ideas ?
I had this problem recently, here's the solution.

Add this code to your theme's global.css:

.post_content a:link {

color: #insertdesiredlinkcolorcodehere;

}

Smile
(2010-06-25, 11:24 PM)Lithium Wrote: [ -> ]I had this problem recently, here's the solution.

Add this code to your theme's global.css:

.post_content a:link {

color: #insertdesiredlinkcolorcodehere;

}

Smile

Diddnt work only some links changed colour not all, I have tried hard refreshing aswell.
EDIT: PROBLEM SOLVED