Jump to content

Change color on add to cart button


Recommended Posts

Hi Yaniv

 

Thank you for your answer. However this is my line 147-152 in global.css:

 

}

*:first-child+html input.button_mini, *:first-child+html input.button_small, *:first-child+html input.button, *:first-child+html input.button_large,

*:first-child+html input.button_mini_disabled, *:first-child+html input.button_small_disabled, *:first-child+html input.button_disabled, *:first-child+html input.button_large_disabled,

*:first-child+html input.exclusive_mini, *:first-child+html input.exclusive_small, *:first-child+html input.exclusive, *:first-child+html input.exclusive_large,

*:first-child+html input.exclusive_mini_disabled, *:first-child+html input.exclusive_small_disabled, *:first-child+html input.exclusive_disabled, *:first-child+html input.exclusive_large_disabled {

border:none

Link to comment
Share on other sites

I found this:

 

input.button_disabled, input.exclusive_disabled, span.exclusive {

border:1px solid #ccc;

color:#999;

background:url(../img/bg_bt_2.gif) repeat-x 0 0 #990000;

cursor:default;

 

As you can see i placed #F4B61B with #990000 but nothing happens. And i've emptied my cache and put on "force compilation". Do i have to do anything more?

Link to comment
Share on other sites

My mistake, your background color for the button is (bg_bt.gif) in this image file you will have 2 or 3 positions of the yellow color, 1 for regular and 1 for hover, your css read the correct one based on position.

 

So either you make similar image file with photoshop with your desire colors or you change the background line to: background: color your like.

if you choose this way you will also need to make something for hover.

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...