Change the "Buy" Button Text - Aaron Meyers

Change the "Buy" Button Text

Initially the shopping cart button had the text "Add to Cart" in it but at some point SmugMug updated it to say, simply, "Buy". If you would like to change the text of the Buy Button (to add the photo to the shopping cart) you can use the following code: Add the following to your theme's Advanced CSS settings:

/* Hide the "Buy Photos" text */
.sm-gallery-cover-buy-button span:nth-of-type(1) {
    display: none;
}

/* Change the "Buy Photo" button text */
.sm-gallery-cover-buy-button:after {
    content: ' Add to Cart';
    font-family: Roboto Condensed,Roboto, Helvetica, Arial, sans-serif;
}
You will want to change the "content" and "font-family" fields to ones of your choosing. Feel free to change "Add to Cart" to whatever you heart desires.

Comments

Powered by SmugMug Log In