Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
How do I enable my ubb to change the form buttons such as add new topic preview post etc to something that I have made?
Or even different colours and fonts?

That has just inspired a hack laugh
Not that I can write it tipsy


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Use CSS to change the colors/fonts of the text boxes. Then you have to add class="whatever" to the text box code inside the Template files and replace whatever with the name of the form you gave it.

Thats the only way I know.

Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
I know about Css but not what code id have to place in it to acheive this.


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
Take a look at the Style Templates section in your control panel and edit the templates you're using. If I am understanding what you are asking you can do it all in there.

Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
I dont think you can chaneg the colour or look of the form buttons from the CP


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Sponsored Links
Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
Ok I messed around with CSS and the thing I put into my sheet was this

INPUT {
color:rgb(0,0,0);
border-style:solid;
border-color:#000000;
border-width:1px;
}

This is to test it.
Well It works on the buttons fine but it also effects the radio buttons and all that so how do I get it to just effect the actual buttons.


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Joined: Feb 2001
Posts: 817
Moderator / Kingpin
Moderator / Kingpin
Joined: Feb 2001
Posts: 817
Oh I understand you now...

Add ".customcolor" to input in that css so it will read "input.customcolor"

and then add "class=customcolor" to all the inputs you want that special color.

Joined: Jun 2002
Posts: 121
Member
Member
Offline
Joined: Jun 2002
Posts: 121
Thank you all I think I understand now,
Took some time though lol.


I Cannot Support Ubb Via ICQ or MSN.
Not because I dont want to its just I cant. tipsy
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
I'm going to close this thread, as you already have another one open with the same topic.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)