View Full Version : $15 for a Quick CSS Fix
GiladG
Nov 14th 2008, 3:01 pm
Quick and easy contest to fix my CSS stylesheet.
Time: Contest will run until a working solution is posted. Upon submission I will test the suggestion and if it works I will award the prize and contact you via PM.
Task: In the following page I need to control the colors of the buttons reading "Add to Cart". I know how to change the background, but cannot locate the text-color.
Prize: $15
Pay: Paypal
UPDATE: Contest is now CLOSED and prize has been awarded.
Inersha
Nov 14th 2008, 3:03 pm
It's the colour in this line:
button.button span { display:block; margin:0; padding:0 8px 1px; font:bold 12px/16px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#000; }
It's in the styles.css file near the top, in the second section below /* Form Elements */
Change color:#000; to whatever colour you want the font colour to be.
:Master:
Nov 14th 2008, 3:04 pm
pm me. what color do u want the text?
gamezville
Nov 14th 2008, 3:07 pm
button.button span { display:block; margin:0; padding:0 8px 1px; font:bold 12px/16px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#000; }
http://www.personalizedjustforu.com/skin/frontend/giftshop/default/css/styles.css
Its under /* Form Elements */ in that.
Edit: I didn't refresh the page, so I didn't see it was already answered.
Frekans
Nov 14th 2008, 3:14 pm
In the stylesheet yoursite.com/skin/frontend/giftshop/default/css/styles.css
button.button span { display:block; margin:0; padding:0 8px 1px; font:bold 12px/16px Arial, Helvetica, sans-serif; text-align:center; white-space:nowrap; color:#000; }
Under the section below /* Form Elements */
Change color:#000; to color:#FFF;
"Add to Cart"s will be white or you can write there any color you wanted.
It's a very little fix and I think Inersha must get the award for this.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.