Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: submit buttons text color?  (Read 4119 times)

0 Members and 1 Guest are viewing this topic.

NEOo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
submit buttons text color?
« 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
« Last Edit: November 05, 2004, 03:49:04 pm by NEOo »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: submit buttons text color?
« Reply #1 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.

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
Logged

NEOo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: submit buttons text color?
« Reply #2 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:
Code: [Select]
<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
« Last Edit: November 05, 2004, 05:14:27 pm by NEOo »
Logged

Nibbler

  • Guest
Re: submit buttons text color?
« Reply #3 on: November 05, 2004, 06:40:37 pm »

Add one then !

eg for classic theme:

Code: [Select]
.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;
}
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.