|
Joined: Aug 2006
Posts: 18
stranger
|
stranger
Joined: Aug 2006
Posts: 18 |
Hi there I have a custom island on my h/p showing the latest 5 posts. Can someone tell me the CSS i need to use to change to the font text and colour. http://www.teentoday.co.ukThanks.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Looks okay right now, if I understand correctly. Or did you want to make it different than the other post islands?
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,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
They are standard links and effected by: a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
color: #FFFFFF;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
color: #FFFFFF;
text-decoration: none;
} Please note that islands used outside of your forum are not effected by the board style editor/styles.
|
|
|
|
Joined: Aug 2006
Posts: 18
stranger
|
stranger
Joined: Aug 2006
Posts: 18 |
Thanks for this. I got it working but actually I am trying to change just the CSS for the box on my homepage, none of the other content. If I use the above it changes all the other fonts?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
What I posted will effect every link on your site, if you take and assign that box to a span (or a div) with the class "julie" you could do (hey its an example, and I love the name ok? lol): .julie a:link {
color: #FFFFFF;
text-decoration: none;
}
.julie a:visited {
color: #FFFFFF;
text-decoration: none;
}
.julie a:hover {
text-decoration: underline;
}
.julie a:active {
color: #FFFFFF;
text-decoration: none;
} Additionally, you could use a span or a div with the "ID" of "julie" as: #julie a:link {
color: #FFFFFF;
text-decoration: none;
}
#julie a:visited {
color: #FFFFFF;
text-decoration: none;
}
#julie a:hover {
text-decoration: underline;
}
#julie a:active {
color: #FFFFFF;
text-decoration: none;
}
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Ahh, now I see what you meant - didn't notice the external custom island there on the home page. Yeah, what Gizmo said (as usual )
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,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Yeah, what Gizmo said (as usual ) honestly, I have nothing better to do than learn this stuff lol
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Nightcrawler),
963
guests, and
210
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|