MyBB Community Forums

Full Version: How to change color of these areas
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have attached an Image showing areas

[attachment=27006]
For checkboxes and radio buttons you'll have to do a bit more than just change the color. You'll have to use something like THIS to accomplish it.

For the buttons, if you "just" want to style those, add this to your global.css:

form[action^="newreply.php"] div[align="center"] input[value="Post Reply"], form[action^="newreply.php"] div[align="center"] input[value="Preview Post"], form[action^="newreply.php"] input ~ input[value="Save as Draft"] {
 /* Style Here */
}

But if you want to style all of them, just use:

input[type="submit"] {
 /* Style Here */
}



Should all work with IE 7+






Edit: lol @ porn in your favorites bar
Thank you for your Info I found the post reply and post prevue (in the newthread template) then they go and do the save as draft different now got to look for {$savedraftbutton} some where not sure where???

and I will check out that jQuery plugin : jqTransform link you posted see If i can do as I am no developer

and about the favorites bar I really should have paid more attention I will find a mod and see if it can be cropped
Oh, you don't have to edit templates for them. xp All you have to do is add the code I gave you to the bottom of the global.css file in your theme editor (Advanced View). Just replace

/* Style Here */

with

background: blue;


and change blue to whatever color you want.



Oh, and to change the image just edit your first post.
(2012-08-06, 11:37 PM)Eric J. Wrote: [ -> ]Oh, you don't have to edit templates for them. xp All you have to do is add the code I gave you to the bottom of the global.css file in your theme editor (Advanced View). Just replace

/* Style Here */

with

background: blue;


and change blue to whatever color you want.



Oh, and to change the image just edit your first post.

Yea I had found the template before i went to bed last night so I never read your post yet but I can use your css trick for the save as draft button since i have not found {$savedraftbutton} yet
I am editing templates cause I am also changing the .gif images to .png trying to crisp up the Image they do not look good on darker back ground if I had a good set I would probably change them all together.

I am to try you jQuery plugin but will probably set up another localhost So I do not mess up what i got.

and thank you I fixed the Image I must have been tired when I posted that Yea that's It I was Tired Big Grin
So how would I change the Browse button of New Attachment

Do I need to use that jQuery plugin : jqTransform plugin or can it be done with css
Adding:

input[name="newattachment"] {
 /* Style Here */
}

to your CSS will edit the button. But again if you want to style them all at the same time you can just use:

input {
 /* Style Here */
}
But what about the browse button it changes the add Attachment but not browse button
[attachment=27044]
I tried that plugin you suggested but It does not work to well I have to change a lot to make it look right that would take me awhile as I am a new-be
[attachment=27045]
and
[attachment=27046]

But then again I am in no rush I guess I attempt it
Yeah, looks like the images need a .png extension for transparency.

But my bad, gave you the wrong CSS. xD

input.fileupload {
 /* Style Here */
}

Will edit it.
Yea I got the images already this is a play around forum

that css still did not work for me it just will not do the browse button it will do the add Attachment again I press f5 to refresh page too.

Well thank you Eric J.

I have to go to bed now
I will try this again after work tomorrow

It seams to only do the input box but not the button. That plugin will change it tho right, and that would be my only way then

I guess I should try to figure out that plugin maybe changing the image sizes in the plugin will help me.
Pages: 1 2