SectionAI is free + 20K tokens if you're a The4 customer, Free plan is available Install App  

Header background

Image Gallery

Eira

Written by Eira

Last updated

20 views

On this page


The "Image Gallery" section is a powerful tool for professionally and engagingly presenting a collection of images. Whether you want to showcase products, display artwork, or tell a visual story, an image gallery offers an effective way to attract and retain viewers. This section is particularly useful for product pages, portfolios, or "About Us" pages to create a strong visual impact.

image gallery 2.png

1. How to access the Image Gallery section?

Step 01: From Shopify Admin, click on Online Store > Select Themes > In the Current theme section, click the Customize button.

theme customize.png

Step 02: In the theme editor (Customize), click the Sections button > Click the Add section button > In the Sections tab, scroll through the list or use the search bar to find and select the Image Gallery section.

image gallery 1.png

2. How to customize the Image Gallery section?

2.1. Image block

To add an Image block to the Image Gallery section, click the Add block button (plus icon ➕) under the Image Gallery section.

After adding the Image block, you can adjust its settings using the sidebar—located on the right or left side of your screen depending on your device

  • Image: Upload the image file to be displayed.

  • Image ratio: Select the aspect ratio (Adapt to image, Square, Portrait, Landscape, ASOS) for the image. This helps ensure layout consistency and prevents image distortion.

  • Image hover effect: Select the effect when hovering over the image (Zoom in, Rotate, Filter,...). These effects enhance interactivity and aesthetics

    Warning: Hovering effect will resize your images

  • Item effect when hover: Select the effect for the entire item (including the image and other content) when hovering over the item. This creates an overall interactive effect for the entire content block.

  • Image width: Select image width setting style (Full or Custom)

  • Image width (Unit: %): This option specifies the unit for image width as percentage (%). Always set to %.

  • Image width on mobile (Unit: %): Enter the width of the image on mobile devices (unit: %).

image gallery 3.png

2.2. Other block

2.2.1. Section heading block

The Section Heading block allows you to add a title and description to different sections of your page, you can customize this block with options below:

  • Design heading: Choose a design for the header to ensure aesthetics

  • Horizontal: Select how horizontal lines will be displayed with the heading

    Only work on desktop

  • Text Alignment: Align the Section heading block to the left, center, or right

  • Spacing between items: Adjust the space between the heading and the text (measured in pixels).

  • Margin bottom: Define the space between the Section Heading and the next section to maintain a balanced layout.

section heading.png

2.2.2. Heading block

To add a Heading block to the Section heading, click the Add block button (plus icon ➕) under the Section heading.

Once the Heading block is added, you can customize its settings in the left or right-hand sidebar (depending on your screen size)

  • Heading: Enter the heading text to display. This is the main content you want users to read.

  • Line-height: Select the line height for the heading.

    • Default: Uses the default line height of the font or theme.

    • Fit: Automatically adjusts the line height to optimally fit the font size and content, often resulting in tighter text.

  • Size: Select the font size for the heading. This directly impacts the prominence and readability of the heading.

  • Text color: Choose the color for the heading text. Ensure this color has good contrast with the background for readability.

heading block.png

2.2.3. Sub heading block

To add Sub heading block to the Section heading, click the Add block button (plus icon ➕) under the Section heading.

Once the Sub heading block is added, you can customize its settings in the left or right-hand sidebar (depending on your screen size)

  • Text (Shift + Enter to line break): Allows users to add textual content, providing information, descriptions, or explanations.

  • Hidden <br> on mobile: Remove unnecessary line breaks on mobile devices

  • Hidden on mobile: Choose whether to hide the heading completely on mobile devices for a streamlined display.

    Choose "Custom size inline" to freely adjust the size in the Custom Size Options section.

Custom size options

  • Font size (Desktop/Mobile): Set different font sizes for each device type to ensure a responsive and visually appealing layout.

  • Letter spacing (in pixel): Adjust the space between letters to enhance readability and design precision.

sub-heading.png

2.2.4. Icon block

To add Icon block to the Section heading, click the Add block button (plus icon ➕) under the Section heading.

Once the Icon block is added, you can customize its settings in the left or right-hand sidebar (depending on your screen size)

  • Image: Upload an image file to display. This is ideal for logos, illustrations, or any other graphic you wish to use.

  • SVG code: Paste SVG (Scalable Vector Graphics) code directly into this field. SVG is an ideal vector graphic format for icons or simple graphics, scalable without loss of quality, and can be color-customized with CSS.

  • Icon color: Choose the color for the icon. This option applies to icons rendered from SVG code or those sourced from an icon library.

  • Show line icon: Enable this option to display a line icon (outline icon) instead of a filled icon, if your theme supports both styles.

  • Width: Select the width setting mode.

    • Auto: The width will automatically adjust based on the content and available space of its parent element. This is the default and often the most flexible setting.

    • Custom: Allows you to specify a custom width. When this option is selected, detailed width input fields for each device will appear.

  • Width (Desktop): (Only visible when Width is set to Custom ) Enter the width of the element on desktop screens

  • Width (Tablet): Enter the width of the element on tablet screens

  • Width (Mobile): Enter the width of the element on mobile devices

Spacing

  • Top padding: Enter the value for the top padding of the element (unit: pixels). This padding creates space between the top edge of the content and the top edge of the element.

  • Bottom padding: Enter the value for the bottom padding of the element (unit: pixels). This padding creates space between the bottom edge of the content and the bottom edge of the element.

  • Rate padding (mobile): Enter the padding rate value for the element on mobile devices

icon block.png

2.2.5. Button block

To add Button block to the Section heading, click the Add block button (plus icon ➕) under the Section heading.

Once the Button block is added, you can customize its settings in the left or right-hand sidebar (depending on your screen size)

  • Label: Enter the text that will be displayed on the button. This is the main content users will read to understand the button's function

  • Link: Enter the URL that the button will link to when clicked. This can be an internal page within your store, a collection, a specific product, or an external link.

  • Open this link in a new tab: Enable this option to open the link in a new browser tab or window when the button is clicked.

  • Make button full width: Enable this option to make the button expand to the full available width of its containing element. This can make the button more prominent, especially on mobile devices.

  • Button style: Select the visual style of the button (Defaul, Outline, Link,...)

  • Size: Select the size of the button (e.g., Small, Medium, Large,...). This affects the button's height and internal padding.

  • Font weight: Select the weight or boldness of the font on the button (e.g., Normal, Bold). This impacts the prominence of the button text.

Icon

  • Icon: An icon is a small graphic element used for illustration or emphasis.

  • Icon position: Select the position of the icon relative to the text or element it accompanies

  • Icon size: Select the size of the icon

  • Icon spacing: Enter the spacing between the icon and its adjacent text or element (unit: pixels).

button block.png

2.3. Image Gallery section

After adding the Image Gallery section, you can customize its settings in the left or right sidebar (depending on your screen size)

Options layout

  • Items per row (Desktop): Enter the number of items to display per row on desktop screens (large screens).

  • Items per row (Tablet): Enter the number of items to display per row on tablet screens. This allows you to optimize the layout for intermediate devices, ensuring readability and navigation.

  • Items per row (Mobile): Enter the number of items to display per row on mobile devices. Optimizing for small screens is crucial for a good user experience

    On a screen that is too small, the item will automatically be full

  • Spacing between items: Enter the spacing between individual items within the grid (unit: pixels). This spacing prevents items from merging and improves the clarity of the layout.

image gallery 4.png

Options for layout section

  • Make section full width: Enable this option to make the section span the full width of the browser, ignoring the theme's usual content width constraints

  • Color scheme: Select the color scheme that will be applied to this section. A color scheme typically includes settings for background color, primary text color, secondary text color, and other accent colors, helping maintain design consistency and brand identity.

image gallery 5.png

Section padding

  • Top padding: Enter the value for the top padding of the element (unit: pixels). This padding creates space between the top edge of the content and the top edge of the element.

  • Bottom padding: Enter the value for the bottom padding of the element (unit: pixels). This padding creates space between the bottom edge of the content and the bottom edge of the element.

  • Rate padding (mobile): Enter the padding rate value for the element on mobile devices

image gallery 6.png

Item Option

  • Border radius: Enter the border radius value (unit: pixels or percentage). This value determines the curvature of the element's corners

Custom CSS

Allows users to customize by adding CSS rules, beyond the limitations of default settings. This allows for fine-tuning the design to every detail, to suit specific needs.

Add custom styles to this section only.

To add custom styles to your entire online store, go to theme settings for detailed instructions.

custom CSS.png

🎁 Exclusive Deals for The4 Customers

SectionAI

🤖 SectionAI – Build Sections with AI

Generate Shopify sections from text or wireframes.
The4 users get +20,000 bonus tokens when verifying their theme license.

  • ✅ No-code section builder
  • ✅ Works with your The4 theme
  • ✅ Build FAQs, banners, product grids & more
🚀 Try Free – Claim Tokens
EComposer

🎉 EComposer – Free 6-Month Plan

Build landing pages, sales funnels, and more with drag & drop.
The4 users get 6 months free (save $114).

  • ✅ 100+ templates ready to use
  • ✅ Build any Shopify page
  • ✅ No coding required
🔓 Get 6 Months Free

Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.