Topic title/Postlink

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
User avatar
Registered User
Posts: 15
Joined: Tue Mar 07, 2006 12:08 am

Topic title/Postlink

Post by VPWanda »

I'm using subsilver, but have modified all the colors and images through the styles admin management.
However, I really want different colors for the Topic Title links and the Postlink links. Through the styles admin I can only give them the same color 'Link Colour'.

I noticed that in the .css file there is a way to give them a different color a.topictitle:link and a.postlink:link etc.
However, these colors all seem to be overwritten by the styles admin management.

How can I have different colors for the title links and postlinks?

I would really appreciate some help with this, because I've tried for over an hour and am completely stuck.
User avatar
Cool Abe
Registered User
Posts: 51
Joined: Thu Feb 03, 2005 1:53 am
Location: Blyth, Northumberland, UK

Re: Topic title/Postlink

Post by Cool Abe »

We've had the same problem, and I have used a "brute force" solution until someone comes up with a more elegant solution in response to this topic. I couldn't find where the class "postlink" was defined - it's not in the CSS.

I simply put the relevant stylesheet in overall_header.html, like this:

<style type="text/css">
a.postlink:link { text-decoration: none; color: #0066CC; }
a.postlink:hover { text-decoration: underline; color: #0066CC; }

and this appears as the last entry in the header, just above the </header> tag.

Our site is 5 Loaves & 2 Fishes if you want to check it out.
"No one is able to plan his own course."

Return to “2.0.x Support Forum”