coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: NEOo on November 05, 2004, 11:30:38 AM

Title: submit buttons text color?
Post by: NEOo on November 05, 2004, 11:30:38 AM
Hi

i want to change the submit button color, because in the theme that i use the text color is white and i cant read it!
i hope someone can tell me how to change the text color of those buttons.

i.e. the buttons bij setting in the buttom of the page: save this config.


please please please!!!

greetz
NEOo
Title: Re: submit buttons text color?
Post by: Joachim Müller on November 05, 2004, 04:03:25 PM
edit themes/yourtheme/style.css, find the class "button" and change the properties accordingly. To learn what style class controls what part of your page, use the theme "styleguide" that comes with the coppermine package and can be viewed as well on the demo (http://coppermine.sourceforge.net/demo/index.php?theme=styleguide).

Joachim

P.S. No need to post childish "please please please" stuff, you'll get all help we can give if you ask nicely (giving as many details as possible - a link might help in the future) and respect forum rules, no need to add extra "icing" to the request ;D
Title: Re: submit buttons text color?
Post by: NEOo on November 05, 2004, 05:08:15 PM
oke sorry for that  :P

but in the config file for example i get those to lines with button in it:

<input type="submit" class="button" name="update_config" value="{$lang_config_php['save_cfg']}">
<input type="submit" class="button" name="restore_config" value="{$lang_config_php['restore_cfg']}">


how can i change the text color then?

and in the style.css i cant find color codes in the button codes

maybe im just stupid ;) but i hope you understand the problem en you know the anwser
Title: Re: submit buttons text color?
Post by: Nibbler on November 05, 2004, 06:40:37 PM
Add one then !

eg for classic theme:

.button {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 100%;
color: red;
        border: 1px solid #005D8C;
        background-image : url(images/button_bg.gif);
        background-position : bottom;
}