|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I'm no CSS expert by any means, so could someone please tell me how I could ADD the "Special Link Properties" options to those properties that don't have them?
In particular, I want to add link options to Misc Properties > .small
Is this what the "Extra Properties" box is for?
Thanks!
JG
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 956
Old Hand
|
Old Hand
Joined: Jun 2006
Posts: 956 |
yes. I use the extra properties to highlight the time on some places. Example: .subjecttable .date {
color: #ffffff;
}
.subjecttable .time {
color: #ffffff;
font-weight: bold;
}
.tdheader .time {
color: #ffffff;
font-weight: bold;
}
.tdheader .date {
color: #ffffff;
}
.topictime .time {
color: #ff4500;
}
.posttime .time {
color: #ff4500;
} This exaple may help you a little bit.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
That helps a lot - thanks, Zarzal!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Okay, well, it helped me to understand it better, but I still don't know the proper syntax to do this:
.topicsubject .small {
A:link {color: #222222; text-decoration: underline; }
A:visited {text-decoration: underline; color: #222222;}
A:active {text-decoration: underline; color: #222222;}
A:hover {text-decoration: underline; color: red;}
}
I know that's wrong, but can't think how to do it properly
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,369 Likes: 126
|
Joined: Jun 2006
Posts: 16,369 Likes: 126 |
Jacked directly from the ubb stylesheet here: body a:link { color: #135060; background: none; } body a:visited { color: #135060; background: none; } body a:active { color: #135060; background: none; }
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Thanks, but is there a way to assign all 4 link types within the same function? Or can't that be done?
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,369 Likes: 126
|
Joined: Jun 2006
Posts: 16,369 Likes: 126 |
You're trying to set a link for .topicsubject, just take what i threw above and replace "body" for ".topicsubject" and set your colors and throw it into the misc section of the css editor...
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I guess I should've just tried what you said the first time. Thanks!! This is what I needed:
.small a:link {
color: #222222;
background: none;
}
.small a:visited {
color: #222222;
background: none;
}
.small a:active {
color: #ff0000;
background: none;
}
.small a:hover {
color: #ff0000;
background: none;
}
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,369 Likes: 126
|
Joined: Jun 2006
Posts: 16,369 Likes: 126 |
hehe not a problem, was figureing you'd figure it out
|
|
|
1 members (Ruben),
1,777
guests, and
101
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|