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.
Change text colour of category bar links on subsilver2?
-
- Registered User
- Posts: 2
- Joined: Sat Feb 07, 2009 6:57 pm
Change text colour of category bar links on subsilver2?
Last edited by MeWantCookie on Sat Feb 07, 2009 7:16 pm, edited 1 time in total.
- darcie
- 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?
Moving to correct forum...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.
- 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?
there are a few ways to do this give this a try :
Open stylesheet.css
FIND
AFTER-ADD
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 -->
REPLACE-WITH
refresh your template cache.
hope that helps,
oddfish.
Open stylesheet.css
FIND
Code: Select all
h4 {
margin: 0;
font-size: 1.1em;
font-weight: bold;
}
Code: Select all
h5 {
margin: 0;
font-size: 1.1em;
font-weight: bold;
color: green;
}
Open forumlist_body.html
FIND - this is the first find under <!-- IF forumrow.S_IS_CAT -->
Code: Select all
{forumrow.FORUM_NAME}
Code: Select all
<h5>{forumrow.FORUM_NAME}</h5>
hope that helps,
oddfish.
-
- Registered User
- Posts: 2
- Joined: Sat Feb 07, 2009 6:57 pm
Re: Change text colour of category bar links on subsilver2?
That worked a treat. I can now get on with converting my phpbb2 style over.
Thank you so much, your help is much appreciated!
Thank you so much, your help is much appreciated!