Previous Thread
Next Thread
Print Thread
Hop To
#174245 01/18/2007 12:23 PM
Joined: Aug 2006
Posts: 18
O
stranger
stranger
O Offline
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,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
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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
O
stranger
stranger
O Offline
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
UBB.threads Developer
UBB.threads Developer
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):

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


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
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 866 guests, and 176 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)