Previous Thread
Next Thread
Print Thread
Hop To
#174245 01/18/2007 12:23 PM
Joined: Aug 2006
Posts: 18
Olly Offline OP
stranger
OP Offline
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.uk

Thanks.

Joined: Aug 2006
Posts: 1,637
Pooh-Bah
Offline
Pooh-Bah
Joined: Aug 2006
Posts: 1,637

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)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (iPhone); No IE, ever!
Joined: Jun 2006
Posts: 16,001
Likes: 49
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,001
Likes: 49
They are standard links and effected by:
Code
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 18
Olly Offline OP
stranger
OP Offline
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,001
Likes: 49
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,001
Likes: 49
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):

Code
.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:
Code
#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;
}


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 1,637
Pooh-Bah
Offline
Pooh-Bah
Joined: Aug 2006
Posts: 1,637

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 wink )


GangsterBB.NET (Ver. 7.6.1.1)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (iPhone); No IE, ever!
Joined: Jun 2006
Posts: 16,001
Likes: 49
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,001
Likes: 49
Originally Posted by jgeoff
Yeah, what Gizmo said (as usual wink )
honestly, I have nothing better to do than learn this stuff lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Issue Upgrading from 7.7.3 to 7.7.4
by Jake - 10/23/2020 3:02 PM
MySQL 5.6 upgrade to 5.7
by Morgan - 10/19/2020 6:19 AM
Custom islands error
by Morgan - 10/18/2020 7:25 AM
Saved Member Searches Enhancement
by Ruben - 10/10/2020 1:17 PM
RSS Feeds
by Mors - 10/06/2020 6:44 PM
Who's Online Now
2 members (Morgan, Ruben), 58 guests, and 66 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20201022)