Change the "Buy Photos" Button Text - Aaron Meyers

Change the "Buy Photos" Button Text

If you would like to customize the "Buy Photo" button 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:

/* 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: ' Buy Me';
    font-family: Roboto Condensed,Roboto, Helvetica, Arial, sans-serif;
    margin-left: 10px;
You'll need to change the "content" and "font-family" to the words and fonts of your choosing.


Powered by SmugMug Owner Log In