Previous Thread
Next Thread
Print Thread
Hop To
#193105 07/27/2007 8:55 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Right now the forum buttons don't have their own style - their style comes from .tdheader I think.

What if I wanted my buttons to have a different style? I'm not all that knowledgeable about styles, so I'm wondering - if I managed to add new styles for buttons, how many scripts would that impact? Just asking for a knowledgeable opinion.

Thanks. smile

Rose #193114 07/27/2007 9:46 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Well, the post buttons have their own style; and the button buttons (shout, reset, submit, etc) use a button class...

Curious which buttons you're looking to fiddle with...


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
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!
Gizmo #193115 07/27/2007 9:49 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
New Reply, Topic Options, New Topic, Forum Options - the ones across the top mainly.

Rose #193117 07/27/2007 9:58 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Ahh those, yes, they indeed use the "tdheader" class; there are several areas I'd love to see have their own classes so they can be styled directly; such as:
1. the "top" link's cell on each post; if you check out EDH and view a thread you'll see that I style the area just liek the post islands area.
2. Pagination - sooo needs its own classes lol.

For this one, you should be able to style just those buttons by adding an "extra css" for:
.t_standard .tdheader {
}
.t_standard .tdheader a {
}

Then style them appropriately (the "a" line is for how you want the links to look). I haven't looked to see what else this will affect, but I'm sure if you set the color to hot pink you'll obviously note how it looks wink...


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
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!
Gizmo #193118 07/27/2007 9:59 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
hey 'hot pink' (tm) SD !

SD #193119 07/27/2007 10:03 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I thought of you when I was typing it wink... :flex:™

"DA0D86"


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
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!
SD #193120 07/27/2007 10:03 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Giz, can you give me an example of how the extra styles might be written? Don't care what parameters you use, but would like to see an example.

Gizmo #193121 07/27/2007 10:08 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by Gizmo
I thought of you when I was typing it wink... :flex:™

"DA0D86"


Linky Poo

sorry for hijaack Rose -- back to topic -- laugh

Rose #193122 07/27/2007 10:08 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Well, wow lol... Ok...

Look at the source of this page; class="" is shown all over; so thats the specific class for that section, and it's nested in another class, or table, or whatnot it shows another class...

Well, since you want to specify a certain area as to not mess with the option globally, you'd try to specify it out as clear as possible; so we do that in this case as what I posted above; go view the source of this page and search for "manage topic" and it shows the classes of that cell, and the table it's nested in; which is how i reached to what i posted above.

There are other things to update to, if it's a table you can use "table", break can be "br", etc.

They have to be prefixed as:
id - #id
class - .class
tag - tag


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
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!
Gizmo #193123 07/27/2007 10:09 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
my above post likely makes no sense to anyone but me, that is all :x


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
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!
Gizmo #193124 07/27/2007 10:09 PM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I donno sd, my fuscia definatly beats the pants off of your pink...


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
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!
Gizmo #193126 07/27/2007 10:12 PM
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
Originally Posted by Gizmo
I donno sd, my fuscia definatly beats the pants off of your pink...
[Linked Image from sirdude.com]

Gizmo #193129 07/27/2007 10:19 PM
Joined: May 2006
Posts: 579
addict
addict
Joined: May 2006
Posts: 579
Sorry Giz .. I didn't mean for you to do it for me. smile And what you wrote in your other reply sorta makes sense.

So if I added a style to the "Extra Properties", and called it say, .buttons .. it might look something like this?

.buttons {
font-size: 8pt;
color : #FFFFFF;
background-color : #A4A4A4;
border-width: 1px 0px 0px 1px;
border-color: #EBF3F9 #334759 #334759 #EBF3F9;
border-style: solid;
padding: 4px;
}


Rose #193140 07/28/2007 4:10 AM
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
You wouldn't want to do that, as .buttons isn't a class that exists in the UBB code; but yeh, that's what it'd look like.


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
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
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (Gizmo), 156 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
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 8.1.0
(Snapshot build 20260527)