The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
  #1  
Old 04-20-2011, 08:03 PM
pace restaurant's Avatar
pace restaurant is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Default

Add To Bag button not changing


Working on integrating the look of Ecwid into my site and ran into a problem. The problem might be me but maybe you can help.

I tried using the code to change the Add To Bag button but it doesn't seem to be changing.

Here's the code I added to the Custom CSS:
Code:
/* The "Add to bag" button in up state */
div.ecwid-AddToBagButton-up, div.ecwid-AddToBagButton-up-hovering {
    background: transparent url(http://peaceinthecanyon.com/images/get_it.png) no-repeat top center !important;
}
/* The "Add to bag" button in down state */
div.ecwid-AddToBagButton-down, div.ecwid-AddToBagButton-down-hovering {
    background: transparent url(http://peaceinthecanyon.com/images/get_it.png) no-repeat bottom center !important;
}
The link to the store is http://peaceinthecanyon.com/goods/
  #2  
Old 04-21-2011, 03:46 AM
Maristany's Avatar
Maristany Maristany is offline
Senior Member
 
Join Date: Dec 2009
Posts: 419
Default

Your Custom CSS Theme has a syntax error, just above those lines it's missing a closing "}", and from there your code is not working. Adding the bracket should fix it.
Code:
...

div.ecwid-productBrowser-productsGrid-productBottomFragment div.ecwid-productBrowser-price, span.ecwid-productBrowser-details-optionRadioButton-sign, span.ecwid-productBrowser-details-optionRadioButton-bracket {
  display:none;
}

/* The "Add to bag" button in up state */
div.ecwid-AddToBagButton-up, div.ecwid-AddToBagButton-up-hovering {
    background: transparent url(http://peaceinthecanyon.com/images/get_it.png) no-repeat top center !important;
}
...
  #3  
Old 04-21-2011, 04:14 AM
pace restaurant's Avatar
pace restaurant pace restaurant is offline
Junior Member
 
Join Date: Mar 2011
Posts: 2
Default

Thank you
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
add to bag, change, css, customize

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:35 AM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.