Close

How to Add a Gallery to Your Shopify Store in Less Than 5 Minutes

The days when you had to write JavaScript or edit Liquid templates just to add a gallery are gone. We decided to make the process of embedding galleries much more straightforward, so non-techy merchants can easily use it without any coding. Nowadays, to add a gallery to your store, all you need to do is hover over the gallery’s desired position and copy the CSS selector of the element the gallery will be inserted after. Here’s how:

1. Find the element the gallery will be inserted after

Go to the desired page where you want to add the new shoppable gallery and hover over the desired area. In the example below we wish to add a new gallery under the header (the purple rectangle):

Right-click on the chosen area and click on Inspect:

Once you click on Inspect, the Developers Tools window will pop up (could also appear on the left/right side of the screen). Hover over the different HTML elements until the desired element is highlighted – in our case, the header highlighted in blue. We want to add the gallery right after the header so we’ll copy the header’s ID (marked in green) or the header’s Class (marked in blue). Just copy one of them.

 

Tip – try to pick the most specific element; in this scenario, we would prefer the ID instead of the Class because it is more specific – there is a higher chance that the element is unique. Either way, we can always use the Route Filter option to display the gallery only on the desired page.

2. Paste the CSS selector and enable the gallery

Open PickyStory app and go to Widgets -> Gallery. Paste the CSS selector to Insert after element box. If you copied an element ID, you should add the pound sign (#) before the element. If using a class, add a dot (.) before the element. See examples below:

Element’s ID:

Element’s Class:

After inserting the CSS selector just switch the toggle to enable the gallery.

"I really expect this app to be soon a must-have for every fashion store!"

MOST POPULAR

Share on facebook
Share on twitter
Share on linkedin
pickystory

Grow your e-commerce sales with a complete platform

Schedule a call to learn about PickyStory's unmatched sales tools and storefront API.

Trusted by the fastest-growing e-commerce brands

Get the best sales tools before your competitors do.

Receive the latest updates from PickyStory, right to your inbox.