Skip to main content

Are you still looking for something?

Generic filters
Exact matches only
Filter by Categories
Customization
Domains
Lightroom Plugin
Tools and Tips

Try these: contact formbuttonbuy photos

ADD TO CART icon – moving it below the thumbnails

In this tutorial, I will demonstrate how to place the ADD TO CART icon below the thumbnails instead of displaying it in the top corner.

Moving add to cart button below the thumbnail

Preparing your galleries

If you are using a gallery style with not much space around the photos – you will need to add some spacing around your photos, so there is space for the ADD TO CART button.

You can do this by clicking CUTOMIZE DESIGN on one of your galleries → click on your gallery → pick the gallery style that you are using → change the SPACING BETWEEN PHOTOS to the largest value. Here is a video on how I did this on my website:

Adding the required CSS code

Add a CSS content block to the ENTIRE SITE section of your website and then add this code to it:

CSS
/*Moving add to cart icon below the image*/
.sm-tile-content {
   overflow: visible;
}

.sm-button.sm-gallery-selection-button {
   top: auto;
   bottom: -50px;
}
CSS

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Support me

I am writing this portal in my free time and I pay for it myself. So, if you want to support my work – use this button to buy me a coffee 🙂 Which will help towards the hosting costs of the portal.