Change text colour of category bar links on subsilver2?

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
MeWantCookie
Registered User
Posts: 2
Joined: Sat Feb 07, 2009 6:57 pm

Change text colour of category bar links on subsilver2?

Post by MeWantCookie »

In the stylesheet for subsilver2 I can change the colour of all links but would like to change the colour of category title links specifically to a colour thats independent of the general link colour.

I'm not sure what bits of code I need to add in order to define it with its own colour value specifically and would be very grateful if someone could help me out.

Thanks for your time.
Last edited by MeWantCookie on Sat Feb 07, 2009 7:16 pm, edited 1 time in total.
User avatar
darcie
Community Team
Community Team
Posts: 189
Joined: Mon Mar 12, 2007 7:32 pm
Location: Davis, California
Contact:

Re: Change text colour of category bar links on subsilver2?

Post by darcie »

Forum rules box wrote:While phpBB.com is offline, support related to styles themselves (code questions, "How do I do XYZ?", etc.) should be asked in the temporary MOD/Styles support forums.
Moving to correct forum...
User avatar
oddfish
Registered User
Posts: 110
Joined: Tue Mar 27, 2007 5:53 am
Location: on my way home
Contact:

Re: Change text colour of category bar links on subsilver2?

Post by oddfish »

there are a few ways to do this give this a try :

Open stylesheet.css
FIND

Code: Select all

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}
AFTER-ADD

Code: Select all

h5 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
	color: green;
}
change green to your colour of choice (hint: you can use #00805A).

Open forumlist_body.html
FIND - this is the first find under <!-- IF forumrow.S_IS_CAT -->

Code: Select all

{forumrow.FORUM_NAME}
REPLACE-WITH

Code: Select all

<h5>{forumrow.FORUM_NAME}</h5>
refresh your template cache.

hope that helps,
oddfish.
MeWantCookie
Registered User
Posts: 2
Joined: Sat Feb 07, 2009 6:57 pm

Re: Change text colour of category bar links on subsilver2?

Post by MeWantCookie »

That worked a treat. I can now get on with converting my phpbb2 style over.

Thank you so much, your help is much appreciated! :mrgreen:
Locked