Skip to main content
All CollectionsDiviUsing The BuilderDivi Modules
The Divi Woo Product Gallery Module
The Divi Woo Product Gallery Module

How to add, configure and customize the Divi Woo Product Gallery module.

Updated over a week ago

The Divi Woo Product Gallery module integrates with WooCommerce and displays product and gallery images.

The Woo Product Gallery module allows you to add and style a product's gallery images anywhere on your website - including page templates and regular page builds.

Woo Product Gallery Module

Install WooCommerce plugin

Before we can use the Divi Woo Related Products module, you’ll need to have WooCommerce installed on your website.

  1. Go to WordPress Dashboard → Plugins → Add New Plugin.

  2. Use the Search input (top right corner) and search for Woocommerce.

  3. Click the Install Now button.

  4. Click the Activate button.

Add The Divi Woo Product Gallery Module

  1. Click the Green icon to insert a Row and select your desired column structure.

  2. Click the Gray icon inside the Row to open the Divi Module Library, which contains all the modules included with the Divi theme.

  3. Click Woo Modules to view all the Divi Woo modules.

  4. Click on the Woo Product Images module to add it to your page.

Add the Woo Product Gallery Module into the layout

All Divi Woo Product Gallery Module Settings Explained

Once added, the module's Settings modal window will automatically pop up. This is where this module's content and design styles are configured.

These settings are organized into three groups via the tabs at the top of the module:

  • Content

  • Design

  • Advanced

Woo Product Gallery Module tabs

Content Tab

Inside this tab, you’ll find the content options available for this module.

Woo Product Gallery Module Content tab

Content

The first settings group is also called Content, where you can control the type and manner of content displayed.

  • Product- This setting allows you to specify which product you want the module to relate to when it displays product images. By default, it's set to Latest Products. For our purposes, we'll leave this setting set to This Product (if the Woo Product Gallery module is added to a Single Product Page, or Choose the Product for which you want to display the Gallery if the module is added to a regular WordPress Page).

Woo Product Gallery Module Content settings

Background

In the Background option group, the following options can be set:

  • Background Color

  • Background Gradient

  • Background Image

  • Background Video

  • Background Pattern

  • Background Mask

How to Add a Background Color

  1. Click the first tab, the Paint Bucket icon.

  2. Click Add Background Color and choose from your site's color palette, or use the eyedropper icon to find a new color.

Woo Product Gallery Module Background Color settings

Note: For the Background Color option to work, you will need to use PNG images with a Transparent background so that the Background Color is actually visible.

How to Add a Background Gradient

  1. Click the second tab, the Gradient icon,

  2. Click Add Background Gradient.
    To change the gradient colors, click on the gradient stops and select a color from your site's color palette, or use the eyedropper icon to choose a new color. Gradient stops allow you to add more colors to the gradient. Click anywhere on the range slider to add a new stop.

Background Gradient options

  • Gradient Type - You can change the gradient type by clicking the dropdown menu and selecting the desired one.

  • Gradient Direction - You can change the direction of the gradient by dragging the range slider or typing in a numerical value.

  • Repeat Gradient - Toggle this option to yes if you want the gradient to repeat.

  • Gradient Unit - The gradient unit changes how the gradient stop points are calculated. Select the dropdown to change the unit.

  • Place Gradient Above Background Image - If a background image is applied, you can place the gradient above the background image by toggling this option to yes.

Woo Product Gallery Module Background Gradient settings

Note: For the Background Gradient option to work, you will need to use PNG images with a Transparent background so that the Background Gradient is visible.

How to Add a Background Image

  1. Click the third tab, the Image icon.

  2. Click the gray + icon to bring up the Media Library, where you can select an already uploaded photo from your library or upload a new one.

Background Image options

  • Use Parallax Effect - To apply a parallax effect to the image (where the image scrolls faster than the foreground content, giving the illusion of a 3D effect), then toggle this option to on. By default, this setting is set to off.

  • Background Image Size - Choose the size of your background image by selecting a size from the dropdown menu.

  • Background Image Position - Choose the position of the background image by selecting a position from the dropdown menu.

  • Background Image Repeat - Choose if and how the background image repeats by selecting an option from the dropdown menu.

  • Background Image Blend - Choose how the background blends with other layers in the module by selecting an option from the dropdown menu.

Woo Product Gallery Module Background Image settings

Note: For the Background Image option to work, you will need to use PNG images with a Transparent background so that the Background Image is visible.

How To Add a Background Video

  1. Click the fourth tab, the Video icon.

  2. Click the gray + icon to bring up the media library, where you can select an already uploaded photo from your library or upload a new one.

Background Video options

  • Mp4 vs Webm. - We recommend uploading both a mp4 version and a webm version of the video because not all browsers support webm video formats. Uploading both file types ensures your video will play on all devices and browsers.

  • Background Video Width - Set the video's width by typing in a numerical value.

  • Background Video Height - Se the height of the video by typing in a numerical value.

  • Pause Video When Another Video Plays - If you'd like the background video to pause when another video is playing, toggle that option to yes. By default, the video will pause when not in view. If you want the video to continue, toggle this option to no.

Woo Product Gallery Module Background Video settings

How to Add a Background Pattern

  1. Click the 5th tab, the Pattern icon,

  2. Click Add Background Pattern.

  3. Choose the pattern type you want from the dropdown.

Background Pattern options

  • Pattern Color - Select the pattern color from your site's color palette or use the eyedropper icon to find a new color.

  • Pattern Transform - Transform the pattern horizontally or vertically, rotate it, or invert it.

  • Pattern Size - Pattern size is where you can select the pattern size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: pattern width and pattern height. Drag the range slider or type in a numerical value to define those options.

  • Pattern Repeat Origin - Select the origin from which the pattern repeats.

  • Pattern Horizontal and Vertical Offset - Adjust the horizontal and vertical offsets for the pattern.

  • Pattern Repeat - Choose how the pattern repeats – horizontally, vertically, and more.

  • Pattern Blend Mode - Defines how the pattern layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

Woo Product Gallery Module Background Pattern settings

Note: For the Background Pattern option to work, you will need to use PNG images with a Transparent background so that the Background Pattern is visible.

How to Add a Background Mask

  1. Click the 6th tab, the Mask icon,

  2. Click Add Background Mask.

  3. Select the mask type you want via the dropdown menu.

Background Mask options

  • Mask Color - Choose the mask color from your site's color palette, or use the eyedropper icon to find a new color.

  • Mask Transform - Transform the mask horizontally or vertically, rotate it, or invert it.

  • Mask Aspect Ration - Set the aspect ratio of the mask. The aspect ratio of an image is the ratio of its width to its height.

  • Mask Size - Select the mask size: the actual size, cover, fit, stretch to fill or custom size. If you select custom size, the following options will appear: mask width and height. Drag the range slider or type in a numerical value to define those options.

  • Mask Blend Mode - Defines how the mask layer interacts with the layers beneath it. Select from one of the 16 blend modes available from the dropdown.

Woo Product Gallery Module Background Mask settings

Note: For the Background Mask option to work, you will need to use PNG images with a Transparent background so that the Background Mask is visible.

Admin Label

The Admin Label is where you can give the module a name only visible to you to help keep things organized and easy to understand on the back end. By default, the admin label will be the module's name. You can change the text of the admin label to reflect what you’d like.

Woo Product Gallery Module Admin Label settings

Design Tab

Inside this tab, you’ll find all the design styles and settings for this module.

Woo Product Gallery Module Design tab

Layout

  • Layout - Choose the type of layout used to display the Woo Product gallery images

    • Slider - Display the selected images in a Slider format

      Woo Product Gallery Module Slider Layout settings

    • Grid - Displays the selected images in a Grid format

      Woo Product Gallery Module Grid Layout settings

Image

Adjust the module's filters:

  • Hue - Defines the hue angle of a color.

  • Saturation- Defines how intense the color saturation should be.

  • Brightness - Defines how bright the colors should be.

  • Contrast - Defines how distinct bright and dark areas should be.

  • Invert - Invert the hue, saturation, and brightness by the specified value.

  • Sepia - Defines a warmer, more yellow/brown appearance.

  • Opacity - Defines how transparent or opaque the background (color, gradient, image, etc.) should be.

  • Blur - Defines the amount of Gaussian Blur applied to the module.

The Blend Mode refers to how the module blends with the layers beneath it. By default, normal will be selected.

Woo Product Gallery Module Image settings

Text

  • Text Alignment - Choose the text alignment

  • Text Color - Choose between Dark and Light text color

  • Text Shadow - Apply a text shadow

Note: The Text option only applies if you are using the Grid Layout.

Woo Product Gallery Module Text settings

Title Text

  • Title Heading Level - Choose the heading level you want assigned to the heading text: h1, h2, h3, h4, h5, or h6.

  • Title Font - Choose the font you want to use for the heading text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Title Font Weight - Click the dropdown to select the boldness of the heading text font.

  • Title Font Style - Choose the style of the heading text font:

    • Italicized

    • Capitalized

    • Small Capitals

    • Underlined

    • Strike-through

  • Title Text Alignment - Choose the text alignment specifically to the heading text only:

    • Left

    • Center

    • Right

    • Justify

  • Title Text Color - Choose a specific color for the heading text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Title Text Size - Choose the font size of the heading text by dragging the range slider or typing in a numerical value.

  • Title Letter Spacing - Choose the letter spacing of the heading text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Title Line Height - Choose the line height of the heading text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Title Text Shadow - Add a drop shadow to the heading text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

Note: The Title Text option only applies if you are using the Grid Layout.

Woo Product Gallery Module Title Text settings

Caption Text

  • Caption Font - Choose the font you want to use for the heading text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Caption Font Weight - Click the dropdown to select the boldness of the heading text font.

  • Caption Font Style - Choose the style of the heading text font:

    • Italicized

    • Capitalized

    • Small Capitals

    • Underlined

    • Strike-through

  • Caption Text Alignment - Choose the text alignment specifically to the heading text only:

    • Left

    • Center

    • Right

    • Justify

  • Caption Text Color - Choose a specific color for the heading text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Caption Text Size - Choose the font size of the heading text by dragging the range slider or typing in a numerical value.

  • Caption Letter Spacing - Choose the letter spacing of the heading text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Caption Line Height - Choose the line height of the heading text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Caption Text Shadow - Add a drop shadow to the heading text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

Note: The Caption Text option only applies if you are using the Grid Layout.

Woo Product Gallery Module Caption Text settings

Pagination Text

  • Pagination Font - Choose the font you want to use for the heading text. The default font is automatically selected; however, you can choose a different font or upload a custom font by clicking the dropdown box.

  • Pagination Font Weight - Click the dropdown to select the boldness of the heading text font.

  • Pagination Font Style - Choose the style of the heading text font:

    • Italicized

    • Capitalized

    • Small Capitals

    • Underlined

    • Strike-through

  • Pagination Text Alignment - Choose the text alignment specifically to the heading text only:

    • Left

    • Center

    • Right

    • Justify

  • Pagination Text Color - Choose a specific color for the heading text. Select from your site’s color palette or click the eyedropper icon to find a new color.

  • Pagination Text Size - Choose the font size of the heading text by dragging the range slider or typing in a numerical value.

  • Pagination Letter Spacing - Choose the letter spacing of the heading text by dragging the range slider or by typing in a numerical value. Letter spacing is the space between each letter. The higher the number, the more space.

  • Pagination Line Height - Choose the line height of the heading text by dragging the range slider or by typing in a numerical value. The line height is the amount of space between each line of text. The higher the number, the more space.

  • Pagination Text Shadow - Add a drop shadow to the heading text. Once a style is selected, you can configure the direction of the shadow (horizontal and vertical), the strength of the drop shadow blur, and the shadow color.

Note: The Pagination Text option only applies if you are using the Grid Layout.

Woo Product Gallery Module Pagination Text settings

Sizing

  • Width - Defines the width of the module. For more information, please check out the official documentation.

  • Max Width - Defines the maximum width of the module. For more information, please check out the official documentation.

  • Module Alignment - If a Width or a Max Width value is set, the module alignment can be set using the three options:

    • Left Aligned

    • Center Aligned

    • Right Aligned

  • Min Height - Defines the minimum value for the module's height. For more information, please check out the official documentation.

  • Height - Define the height of the module. For more information, please check out the official documentation.

  • Max Height - Defines the maximum height value the module can have. For more information, please check out the official documentation.

Woo Product Gallery Module Sizing settings

Spacing

You can add margins or spacing to this module by typing numerical values.

Margin adds space outside the module, and padding adds space inside the module. To lock in ratios and keep the values the same, click the chainlink icon between the values you want always to be identical (ex, top and bottom).

  • Default margin values for the module are 0.

  • Default padding values for the module are 0.

Woo Product Gallery Module Spacing settings

Border

Add a border to the module. You can add a complete border or a border to only one side of the module. Adjust the width via the range slider and select a color. Choose a border style by clicking the dropdown.

  • Rounded Corners – Type in a numerical value for round border corners. The higher the number, the rounder the corners will be. The corner values are automatically linked (as seen by the highlighted blue chainlink in the middle); however, if you’d like to have different values for each corner, simply click the blue chainlink to unlink the values. If the values are automatically linked, they will always have the same value and update automatically if one value is changed.

  • Border Styles – Add a border to all sides of the module or individual sides (top, right, bottom, and left).

  • Border Width - Set the width of the border. For a thicker border, increase the number. The border width must be at least 1px to show.

  • Border Color – Choose the color of the border. You can select a color from your default site color palette that is already displayed or click on the eyedropper icon to find a new color.

  • Border Style – Select what border style you’d like: solid, dashed, dotted, double, groove, ridge, inset, outset, or none.

Woo Product Gallery Module Border settings

Box Shadow

Add a drop shadow to the entire module. Once a shadow style is clicked, you can customize the following options:

  • Box Shadow Horizontal Position - Defines the horizontal position of the drop shadow.

  • Box Shadow Vertical Position - Defines the vertical position of the drop shadow.

  • Box Shadow Blur Strength - Defines the strength of the shadow's blur. The higher the value, the bigger the blur and the wider and lighter the shadow becomes.

  • Box Shadow Spread Strength - Defines the spread strength of the blur. Increasing the spread strength will increase the density of the box shadow. Higher density results in a more intense shadow.

  • Shadow Color - Defines the shadow's color.

  • Box Shadow Position - Defines the shadow's position. It can be inside the module or outside the module.

Woo Product Gallery Module Box Shadow settings

Filters

Adjust the module's filters:

  • Hue - Defines the hue angle of a color.

  • Saturation- Defines how intense the color saturation should be.

  • Brightness - Defines how bright the colors should be.

  • Contrast - Defines how distinct bright and dark areas should be.

  • Invert - Invert the hue, saturation, and brightness by the specified value.

  • Sepia - Defines a warmer, more yellow/brown appearance.

  • Opacity - Defines how transparent or opaque the background (color, gradient, image, etc.) should be.

  • Blur - Defines the amount of Gaussian Blur applied to the module.

The Blend Mode refers to how the module blends with the layers beneath it. By default, normal will be selected.

Woo Product Gallery Module Filters settings

Transform

  • Scale

  • Translate

  • Rotate

  • Skew

  • Origin points

Tab through to access each option. You can configure each option by inputting numerical values or dragging and expanding the box or circle.

You can lock in these values to always be identical by clicking the chain link icon at the bottom right.

Woo Product Gallery Module Transform settings

Animation

Here, you can apply animation to the module. Once you choose a style, you can adjust the following options:

  • Animation Duration - Defines the length of time that an animation takes to complete one cycle.

  • Animation Delay—Define the amount of time to wait before applying the animation to an element before beginning to perform the animation. The animation can start later, immediately from its beginning, or immediately and partway through.

  • Animation Starting Opacity - Define the starting opacity value.

  • Animation Speed Curve - Define the easing method of your animation. Easing your animation in and out will create a smoother effect than a linear speed curve.

  • Animation Repeat—By default, animations play only once. To loop your animation continuously, choose the Loop option here.

Woo Product Gallery Module Animation settings

Advanced Tab

The Advanced tab contains options that more experienced web designers might find useful, such as custom CSS.

Here, you can apply custom CSS to your module. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module's styles with more advanced CSS properties or to apply custom CSS code using the module's CSS class.

Woo Product Gallery Module Advanced Tab

CSS ID & Classes

Assign a specific CSS ID or Class to this module. This is helpful when applying custom CSS to a module by using your child theme's stylesheet.

Woo Product Gallery Module CSS ID and Classes settings

Custom CSS

  • Free-Form CSS - Write free-form css using the keyword selector to target this module. Example: selector {color: red;}

    Woo Product Gallery Module Free-Form CSS settings

  • Module Elements - You can also apply custom CSS to this module by pasting it in this tab. When you click on the Module Elements tab, you'll see individual sections where you can add custom CSS properties.

    Woo Product Gallery Module Elements settings

Conditions

The Display Conditions allow you to choose when to display this module based on a set of conditions, like when a user is visiting the page if they've already purchased from your company before, what browser they are using, what operating system they're using, and more.

You can add one condition or multiple conditions.

Woo Product Gallery Module Display Conditions settings

Visibility

  • Disable on - Defines the visibility of the module. You can disable it (hide it from view) when the display window is a Phone, Tablet, or Desktop by clicking the corresponding checkbox.

  • Horizontal Overflow - Defines what shows when content overflows a block-level element's left and right edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

  • Vertical Overflow - Defines what shows when content overflows a block-level element's top and bottom edges. This may be:

    • Visible - The content will show if the module's content overflows its height.

    • Scroll - If the module's content overflows its height, a vertical scroll bar will be used to scroll through its content.

    • Hidden - If the module's content overflows its height, the part of the content that overflows will be hidden.

    • Auto - The browser will decide whether a scroll bar will be shown.

Woo Product Gallery Module Visiblity settings

Transitions

This controls the hover animation's transition duration, delay, and speed curve.

  • Transition Duration - Defines the duration (in milliseconds) of the transition of the hover animation.

  • Transition Delay - Defines the transition delay of the hover animation (in milliseconds).

  • Transition Speed Curve - Defines the transition speed curve of the hover animation.

Woo Product Gallery Module Transition settings

Position

  • Position - This defines the position of the module:

    • Relative (default value) - The module is positioned according to the normal flow of the document, and then offset values are relative to itself based on the values of Vertical Offset and Horizontal Offset. The offset does not affect the position of any other elements; thus, the space given for the module in the page layout is the same as if the position were default (static).

    • Absolute - The module is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned relative to its closest positioned ancestor (if any) or the initial containing block. The Location options determine its final position

    • Fixed - The element is removed from the normal document flow, and no space is created for the element in the page layout. The module is positioned based on the location options in relation to the browser window. This can be used to create a sticky module.

  • Vertical Offset - Defines the module's vertical position.

  • Horizontal Offset - Defines the module's horizontal position.

  • Z-index - Defines the order of the module in the page layout. Modules with a higher z-index number overlap modules with a lower z-index.

Woo Product Gallery Module Position settings

Scroll Effects

This section defines the module's behavior when the user scrolls the page. You can make the module sticky to the top, bottom, or both and decide if the module should transform as the user scrolls.

Additionally, you can enable vertical motion on this module, which allows you to adjust the scrolling speed of the element without affecting the surrounding elements.

The Motion Trigger Effect feature lets you choose when the scroll effect you just applied is triggered. You can trigger the effect when the element's top, middle, or bottom is in view.

Woo Product Gallery Module Scroll Effects settings

Save and Exit

Once you are finished styling and configuring the number counter module, click the green arrow at the bottom right of the module to save your design. If you close the module without saving, your work will be lost.

Next, Save the Page Design

To save the page design, you can type CMD + S on a Mac or CTRL + S on a PC. You can also save your page design using the bottom Divi toolbar by clicking the Purple Elipsis icon and then clicking the Green Save button at the bottom right.

Exit the Visual Builder

Now that all your changes are saved, click Exit Visual Builder on the admin toolbar at the top to exit the Visual Builder.

Exit the Visual Builder

Did this answer your question?