The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to change the link color in a post?

Go down

Solved How to change the link color in a post?

Post by lordamit October 20th 2010, 11:52 am

Hi everyone.
I have gone through some of the topics, and not a single one of them provided a satisfactory answer.

What I want:

I only want to change the color of provided links in a post. For example, this is a post. The normal text color is somewhat black. And this is a normal link. it has blue color.
I want to change that normal link's color so that it is going to look like this -> normal link

What happens when I try something:

Code:
a:[b]link[/b] , a:visited {
[b]color[/b]: red;
}
a:hover {
[b]color[/b]: blue;
}

This is not what I want. It changes every link's color. Portal link, topic color, everything gets changed to red.
I simply want the link inside a post/reply to be changed automatically.

I am using a forum which is in phpbb3 version.

I hope someone will help me out.
avatar
lordamit
Forumember

Male Posts : 46
Reputation : 0
Language : English
Location : Bangladesh

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Solved Re: How to change the link color in a post?

Post by Guest October 20th 2010, 12:30 pm

try these codes (:

Code:
.postbody {
color: green;
}

.postbody a {
color: red;
}

.postbody a:hover {
color: blue;
}
avatar
Guest
Guest


Back to top Go down

Solved Re: How to change the link color in a post?

Post by lordamit October 20th 2010, 12:34 pm

Love you!!
avatar
lordamit
Forumember

Male Posts : 46
Reputation : 0
Language : English
Location : Bangladesh

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Solved Re: How to change the link color in a post?

Post by Guest October 20th 2010, 12:35 pm

Me too lol Very Happy!

Glad i could help Razz


How to change the link color in a post? Stock_lock-ok Solved How to change the link color in a post? 103 Locked
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum