15th Apr '25
/
0 comments

Synced thumbnail sliders in Bricks using BricksExtras

This tutorial provides the steps to set up post-specific synced/linked thumbnail sliders that show photos from a gallery-type custom field using BricksExtras plugin in a WordPress site powered by Bricks.

We will have the main slider at the top and the thumbnail slider at the bottom.

Step 1

Create a Gallery type field if using ACF Pro or an Image Advanced type field if using Meta Box.

Associate it with your post type.

Step 2

Edit your (CPT) posts and populate the field for each.

Step 3

Install BricksExtras.

Enable these elements: Pro Slider and Pro Slider Gallery.

Step 4

Create a single Bricks template for your post type and edit it.

Add a Section and inside its Container, Post Title and Post Content elements.

Add another Section and inside its Container, a Pro Slider element.

SLIDES / LAYOUT

No. of slides to show: 3 (you may want this to be an odd number like 3 or 5 so that the larger version of the image appears centered when a thumbnail is clicked in the bottom slider)

Gap between slides: 20

INTERACTION / BEHAVIOUR

Focus: center

NAV ARROWS

Icon size: 22

For both PREV ARROW and NEXT ARROW:

Top: auto

Bottom: -70

PAGINATION DOTS

Position:

Top: auto

Bottom: -30

GALLERY

Enable Gallery mode.

Add a Pro Slider Gallery element under the Pro Slider.

When you are done implementing this tutorial, the structure should look like this:

Click the dynamic data bolt icon and select your gallery field.

Select your desired image size.

Link to: Lightbox

If you would like to show thumbnails at the bottom in the lightbox, tick “Group images into lightbox” and “Thumbnail navigation”.

If the thumbnails are not centered on the front end or if they seem to move for each click (to make the active thumb centered), add this CSS in template’s Page settings → Custom code:

.pswp__thumbnail-nav-wrapper {
  left: 50% !important;
  transform: translate(-50%, 0);
  
  .pswp__thumbnail-nav {
    transform: none !important;
  }
}

Step 5

Let’s set up the thumbnail slider.

Duplicate the Pro Slider.

In the STYLE tab under LAYOUT, set left and right margins to auto. Also, set width to auto.

SLIDES / LAYOUT

Gap between slides: 10

Enable ‘Auto slide width’.

NAV ARROWS

Set to None.

PAGINATION DOTS

Disable.

SYNC SLIDERS

Enable sync.

Copy the CSS ID of the main slider and paste.

Ex.:

GALLERY

Enable Gallery mode.

Step 6

Select the Pro Slider Gallery inside the thumbnail slider.

You may want to select a smaller image size.

If you’d like to register a custom image size, add the following in child theme‘s functions.php (w/o the opening PHP tag) or a code snippets plugin:

<?php

add_image_size( 'small-thumbnail', 75, 75, true );

and regenerate thumbnails.

and done! Check on the frontend.

Here is a JSON export of the Section from our dev site for your reference.

Get access to all 630 Bricks code tutorials with BricksLabs Pro

Leave the first comment

 

Related Tutorials..

Pro
Slow Zoom Effect for Slides in Bricks

Slow Zoom Effect for Slides in Bricks

This Pro tutorial provides the steps to set up a slow zoom effect for slides of nestable slider element in Bricks. Step 1 Add a…
Categories:
Tags:
Pro
Ken Burns Background Slideshow in Bricks

Ken Burns Background Slideshow in Bricks

Setting up a hero section, having images that pan and move as a background slideshow with content on top.
Categories:
Tags:
Pro
Posts Grouped by Taxonomy Terms in Bricks using BricksExtras’ Dynamic Table and Pro Tabs

Posts Grouped by Taxonomy Terms in Bricks using BricksExtras’ Dynamic Table and Pro Tabs

How to output any post type, with the taxonomy terms as Tab titles and posts inside tables with sortable columns.
How to add a custom SwiperJS slider in Bricks

How to add a custom SwiperJS slider in Bricks

In this tutorial, we'll show you how to integrate a custom slider in Bricks using the SwiperJS library and how to add custom parameters using…
Categories:
Tags:
Pro
How to Move an Element into Another on Smaller Viewports in Bricks

How to Move an Element into Another on Smaller Viewports in Bricks

This Pro tutorial provides the steps to move a Block containing a Heading and WP Grid Builder's Facet into BricksExtras' OffCanvas element for viewports 991px…
Random Post Inside Modal using BricksExtras

Random Post Inside Modal using BricksExtras

In the BricksLabs Facebook group a user asks: So I have a modal, that opens with a random post title and content from a custom…
Categories:
How to Create a Progress Bar for the Nested Slider in Bricks

How to Create a Progress Bar for the Nested Slider in Bricks

In this tutorial, we'll learn how to add a progress bar to our nested slider element in Bricks. Introduction A user recently asked in the…
Categories: