How to change big Continue Shopping button

Last updated

Ecwid enables you to alter every bit of your storefront layout so that it will fit your site's design better. You can do it by adding styles to your custom CSS theme. More information about custom CSS themes: How to change Ecwid design. The same approach can be used to change Continue Shopping button that is displayed on the product page after you add a product to bag.



Please find further explanation and an example of customized Continue Shopping button below.

Customizing look of Continue Shopping button

Continue Shopping button is designed in CSS3, which means it is done with the help of a set of gradients, opacity filters, rounded corners and other CSS effects specified right in the code (they are not static images). It makes them quite flexible to adjust and easy to translate. While it may be quite tricky to manually specify shape or color in the CSS3 codes for beginners, there are plenty ready CSS3 button generators on the web – you can use one of those for creating your own button and copy the generated CSS code to your custom CSS theme. For more details on CSS customizations in Ecwid, please refer to this article: CSS FAQ .

Example

For example, let's make the button orange, like in the image above. You'll need the following code:


.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping {
 background: #ff9c33 ;
}
.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping:hover {
 background: #ffc180 ;
}
.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping:focus,
.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping:focus:hover {
 border-color: #ffc180 ;
}
.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping:active,
.ecwid-productBrowser-ProductPage .ecwid-btn--continueShopping:focus:active {
 background: #ff9c33 ;
}

Add it to Ecwid Control panel > Settings > Design > CSS Themes > your active CSS Theme.

If you need unique custom design for your store or need multiple style changes, we can help. Please fill in this form: Custom design for Ecwid store. We will be glad to help you designing your Ecwid store.


Customizing text of big Continue Shopping button

Checkout button in Ecwid is designed by means of CSS3, it is not an image, thus in order to change 'Checkout' text, you can use the general approach for changing or translating texts in Ecwid: How can I change or translate any text in my storefront? . In particular, the JS code for changing the big 'Checkout' label on product details page to 'Go back to store' will look as follows:

<script>
ecwidMessages = {
"ProductBrowser.ModernButton.continue_shopping":"Go back to store"
}
</script>

Please change the 'Go back to store' text as you wish.

Was this article helpful?
0 out of 0 found this helpful
Questions?
Get help
  • Presales Chat

    Need help choosing the right Ecwid plan? Our Sales team has the answer you’re looking for.

  • Forums

    Join the Ecwid community. Discuss support topics and store ideas with other Ecwid users.

  • Contact us

    Still have questions about Ecwid? Let us know! We will be glad to help you with your Ecwid store.

  • Status Monitor

    Get real time status updates on Ecwid services here, 24/7