[Prosilver] Link Color

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
User avatar
Christy
Registered User
Posts: 158
Joined: Sat Apr 24, 2010 10:30 pm
Location: Canada
Name: Christy

[Prosilver] Link Color

Post by Christy » Sun Dec 12, 2010 5:28 pm

Hello,

I want to know how I would go about changing links in posts like this? I just need to know where I would change those colours. As well, where would I change the color for the links in the Rules box?

User avatar
TheIlluminative
Former Team Member
Posts: 2451
Joined: Thu Jun 26, 2003 11:34 pm
Location: Egypt
Name: Mahmoud
Contact:

Re: [Prosilver] Link Color

Post by TheIlluminative » Sun Dec 12, 2010 6:33 pm

In theme/colours.css, find:

Code: Select all

/* Post body links */
.postlink {
	color: #368AD2;
	border-bottom-color: #368AD2;
}

.postlink:visited {
	color: #5D8FBD;
	border-bottom-color: #666666;
}

.postlink:active {
	color: #368AD2;
}

.postlink:hover {
	background-color: #D0E4F6;
	color: #0D4473;
}
cange the colors to what you want. This affects both, posts and rules links colors. Refresh themes through ACP after editions.

User avatar
Christy
Registered User
Posts: 158
Joined: Sat Apr 24, 2010 10:30 pm
Location: Canada
Name: Christy

Re: [Prosilver] Link Color

Post by Christy » Sun Dec 12, 2010 8:44 pm

Thanks ;).

How do I change the color of the Who's online link on the desktop?

User avatar
TheIlluminative
Former Team Member
Posts: 2451
Joined: Thu Jun 26, 2003 11:34 pm
Location: Egypt
Name: Mahmoud
Contact:

Re: [Prosilver] Link Color

Post by TheIlluminative » Wed Dec 15, 2010 6:21 am

Sorry for late reply :oops:

To change the viewonline link color, open file: template/index_body.html, find:

Code: Select all

<a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a>
replace with:

Code: Select all

<a href="{U_VIEWONLINE}" class="viewonline">{L_WHO_IS_ONLINE}</a>
open file: theme/colours.css, add:

Code: Select all

a.viewonline:link {
	color: #FFFFFF;
}

a.viewonline:visited {
	color: #000000;
}

a.viewonline:hover {
	color: #FF0000;
}

a.viewonline:active {
	color: #FFFF00;
}
and change the colors to the ones you want. Refresh templates and themes through ACP after editions.

Locked

Return to “[3.0.x] Styles Support & Discussion”