PDA

View Full Version : Change Link Color Of Forum Titles (without affecting other links)



s0ct0j0c
21-04-2011, 08:29 AM
This is a guide for changing only forum title links without affecting other links on the page. It's for the titles in the forum listing like Main Forum:
http://xenforomods.info/attachments/screen-shot-2010-11-09-at-9-50-06-am-png.7201/?embedded=1


By default the forum title links use the body link color which affects all links:

Admin CP -> Appearance -> Templates -> xenforo.css


a:link,
a:visited
{
color: @primaryMedium;
text-decoration: none;
}
If you want to set a different link color for just forum titles then edit this template:

Admin CP -> Appearance -> Templates -> node_list.css

Add this code:
.nodeTitle a,
.nodeTitle a:visited
{
color: #ffffff;
}

...as shown below:
.node .nodeTitle
{
@property "nodeTitle";
font-size: 12pt;
@property "/nodeTitle";
}

.node .unread .nodeTitle
{
@property "nodeTitleUnread";
font-weight: bold;
@property "/nodeTitleUnread";
}

.nodeTitle a,
.nodeTitle a:visited
{
color: #ffffff;
}

.node .nodeDescription
{
@property "nodeDescription";
font-size: 11px;
@property "/nodeDescription";
}

Specify any color code you want.