Change the Add to Cart Button Text - Aaron Meyers

Lightbox: Change the Add to Cart Button Text

If you would like to customize the "Add to Cart" button in your lightbox with your own text, use the following CSS. Feel free to change the area that says content: ' Buy Me!' to whatever text you want. Add the following CSS to your theme's Advanced CSS settings:

/* Customize the Add to Cart Button Text in the Light Box */
.sm-user-ui .sm-lightbox-tools .sm-lightbox-buy-button:after {
   content: ' Buy Me!'
}

/* Remove the old text from the button; */
.sm-user-ui .sm-lightbox-tools .sm-button-label {
   display: none;
}

Comments

Powered by SmugMug Log In