Content·shopify
Gallery Section With Popup
Create an elegant Shopify gallery section with responsive image cards and an interactive lightbox popup. Visitors can open images in a full-screen gallery, navigate with next and previous controls, use keyboard navigation, and swipe on mobile devices. Ideal for portfolios, product showcases, lookbooks, photography galleries, and visual storytelling.
languageliquid
filegallery-section-with-popup.liquid
lines1042
#shopifygallery#imagegallery#lightboxpopup#responsivegallery#productshowcase#portfoliogallery#lookbook#imageslider#mobilefriendly#keyboardnavigation#swipenavigation#interactivesection#liquid#html#css#javascript
source
The full code
1042 lines · liquid
gallery-section-with-popup.liquid
locked1{% comment %}
2Section: Gallery Showcase
3Version: 2.0 – Lightbox popup with next/prev, keyboard & swipe navigation
4{% endcomment %}
5
6{%- style -%}
7/* Critical CSS for above-the-fold content */
8.section-{{ section.id }}-padding {
9 padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
10 padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
11 background-color: {{ section.settings.bg_color }};
12 color: {{ section.settings.text_color }};
13}
14
15@media screen and (min-width: 750px) {
16 .section-{{ section.id }}-padding {
17 padding-top: {{ section.settings.padding_top }}px;
18 padding-bottom: {{ section.settings.padding_bottom }}px;
19 }
20}
Unlock the full code
Enter your name & email to reveal 1022 more lines
● liquid20/1042 lines
More like this
all sections →Want sections like these built for you?
Custom Shopify themes, sections, and apps tailored to your brand.
