|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
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 Not that I can write it 
I Cannot Support Ubb Via ICQ or MSN. Not because I dont want to its just I cant.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
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
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.
|
|
|
|
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
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.
|
|
|
|
Joined: Jun 2002
Posts: 121
Member
|
Member
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.
|
|
|
|
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
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.
|
|
|
|
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.
|
|
|
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.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|