Super Like shooting fish in a barrel Image Slider in Squarespace - Version three.0

In this article, I'chiliad going to show you how to easily add a full-width image slider to your Squarespace website.

This tutorial is for full beginners, if y'all're able to copy & paste, then you tin can do this!

This is an update to my previous image slider plugin (if yous're looking for that one, click here). I've rebuilt this from the basis upwardly to be more integrated with Squarespace's platform, simpler to install, touch to swipe, and many more features.

Meet information technology in action here: Demo

This plugin works in all Squarespace 7.ane websites and in Squarespace 7.0 Alkali Templates.

I too accept a Pro version of this plugin with tons of additional features for but $10. If yous desire to buy that, just click hither to jump straight to the buy page.

Free Version

  • Plow Sections Into Slides
  • Mobile Friendly
  • Background Images / Videos
  • No-Code Editing
  • Navigation Arrows
  • Custom Colors
  • Total-Width Folio Slider
  • 1 Slider / Page

Pro Version

  • Everything in Gratis Plus...
  • Auto-Transition Slides
  • Unlimited Sliders / Page
  • Slider Dots (Pagination)
  • Slide Outcome - Fade Between
  • Slide Consequence - CoverFlow
  • Stop At Concluding Slide
  • Additional CSS Customizations
  • Cocky Hosting Installation Option

Now let'due south move on to the installation of our Free slider.

Installation Video

Overview

First, I congenital this plugin to be seamlessly integrated with the Squarespace editor. This means it's super easy for you to add your own content and edit without having to know whatever coding skills.

This slider also gives you lots of flexibility in how each slide looks. Add in a background prototype, a background video, text blocks, image blocks, forms, buttons, anything! Each slide has all the pattern and functionality capabilities of a normal Squarespace section.

Once yous apply the lawmaking, each of the sections that you designate in the code below will turn into slides in your slider, and you're washed! Piece of cake peasy.

The best part, you don't need to jump into the code to encounter the data-attribute-id or the CSS selector or anything. All you need to do is drop a code cake into the section that y'all want to be the first slide and voila!

Super simple, super easy.

(For any developers who are curious, this slider is congenital on top of the incredible Swiper API.)

Installation in Squarespace 7.1

1. Add together in the installation code

Navigate to your Site Settings » Advanced » Code Injection surface area. This is the code that will turn your sections into sliders.

Add together this into your Site Footer Code Injection Area:

*If you're on a Personal Plan in Squarespace, paste this into a Markdown Block in the Footer of your site.

                          <                          script                          src="https://code.jquery.com/jquery-3.6.0.js"                          >                          </                          script                          >                          <                          script                          src="https://assets.codepen.io/3198845/WMSliderFREEv3.0.js"                          >                          </                          script                          >                        

two. Create a new page

Create a new page the same fashion that you lot ordinarily would, or if you've already got a page built out that you want to add this slider to, y'all can but get direct to that.

To create a new page, navigate to your PAGES tab and hit the + icon adjacent to the Non LINKED section. If you lot'd like to follow along with the same page layout I'm using for this installation guide, click on "Folio Layouts" and "Full general one". Nonetheless, when you're ready to build your real folio that you desire to use this slider in, you tin use any page layout or a blank folio.

Annotation: This plugin simply works on "Pages" and "Portfolio Items". Basically anything that allows you to add SECTIONS. If you're looking for a manner to jazz upwards your web log page banners, check out this plugin .

iii. Build Your Slider

Now, inside the first section (which will be where your slider shows) on the new page, add in a CODE BLOCK (or Markdown Block for Personal Plans) and paste in the post-obit code:

                          <                          div                          information-wm-plugin="section-slider"                          >                          </                          div                          >                        

Hitting relieve on the Code Block and then save on the folio. You should now see a slider that uses the side by side four SECTIONS on that page as its slides.

(If you'd rather your slider be farther downward on the page, not the start section, y'all can do that too.)

You now have a slider with the default settings:

  • 4 slides

  • Loop through (afterwards the terminal slide you can keep going dorsum to the outset)

  • Auto-Height (height of the slider will automatically adjust based on the slide height)

  • Arrows

  • Encounter what the additional features the Pro version has

Now you're ready to go back into EDIT mode and change the content on each section however y'all'd like.

Y'all're basically done installing the slider at this bespeak, and the rest of it is simply editing the content exactly the aforementioned manner you normally would for each section.

Let's talk a piffling more well-nigh adjusting your slider's setting…

Installation in Squarespace 7.0

Please note the following items before installing on your Squarespace vii.0 Brine Site

  1. You must be using a Brine template

  2. Parallax must exist turned off. Parallax images are stored differently in the website, so in gild for groundwork images to work properly, y'all tin't have parallax turned on

one. Add together in the installation lawmaking

Navigate to your Site Settings » Avant-garde » Code Injection surface area. This is the code that will turn your sections into sliders.

Add this into your Site Footer Lawmaking Injection Surface area:

If y'all're on a Personal Programme in Squarespace, paste this into a Markdown Block in the Footer of your site.

                          <                          script                          src="https://code.jquery.com/jquery-3.6.0.js"                          >                          </                          script                          >                          <                          script                          src="https://assets.codepen.io/3198845/WMSliderFREEv3.0.js"                          >                          </                          script                          >                        

ii. Create a new Index page

Create a new page the same way that you normally would, or if you've already got a page built out that yous desire to add this slider to, you can just go straight to that.

To create a new folio, navigate to your PAGES tab and striking the + icon next to the NOT LINKED section. Create a new Alphabetize Folio and add at least iv PAGES within that INDEX PAGE. Add some content into each section, feel gratis to add together background images besides to the pages.

Note: This plugin but works with INDEX PAGES. If you're looking for a way to jazz up your blog folio banners, check out this plugin .

3. Build Your Slider

Now, within the first Folio on the Index PAGE, add in a Code Cake (or Markdown Block for Personal Plans) and paste in the post-obit code:

                          <                          div                          data-wm-plugin="department-slider"                          >                          </                          div                          >                        

Hitting salve on the CODE BLOCK and then relieve on the page. Yous should now run across a slider that contains each of the next four PAGES on that Index equally its slides.

Notation that your slider will non be viewable in edit mode, although information technology is live on your site. This is done and then that you can easily edit the slider without having to remove the code, potentially breaking it on your alive site. Nevertheless, if y'all'd like to change this so that you tin see the slider in editor fashion, see pace 4 below.

iv. View Slider in Edit Fashion (Optional)

If y'all'd similar to be able to see the slider in the backend editor mode, add this code to the advanced header code injection area of your INDEX Folio.

If you're on a Personal Plan in Squarespace, paste this into a Markdown Block in the Footer of your site.

                          <                          div                          data-view-slider="true"                          >                          </                          div                          >                        

You now have a slider with the default settings:

  • 4 slides

  • Loop through (afterward the last slide you tin continue going dorsum to the kickoff)

  • Auto-Height (acme of the slider volition automatically adjust based on the slide height)

  • Arrows

  • Run across what the additional features the Pro version has

Now you're ready to go dorsum into EDIT style and change the content on each slide still you'd like.

Yous're basically done installing the slider at this betoken, and the balance of it is just editing the content exactly the aforementioned style you lot normally would for each folio.

Let'southward talk a little more well-nigh adjusting your slider'due south setting…

Adjust the Slider Settings

Now let'south play around with some of the settings nosotros want to adjust, like number of slides, scroll speed, etc. Remember the code we put int the code block of the commencement slide'south section before? Well, we tin can add attributes to that element to suit some of the settings. For case, if nosotros just wanted a slider with 3 slides, our code would wait like this.

                          <                          div                          data-wm-plugin="section-slider"                          information-slides-count="three"                          >                          </                          div                          >                        

In this example, information-slides-count is the attribute we're changing, and 3 is it's new value. And so at present our slider will but contain three slides. Here is a list of all the default items y'all tin can adjust with the Costless Slider:

*If you want your slider to move through each slide automatically, check out my $10 Pro version, which includes automobile-coil.

                          <                          div                          data-wm-plugin="section-slider"                          data-slides-count="iii"                          data-arrows="bottom"                          data-speed="1000"                          data-colour="#ff0000"                          >                          </                          div                          >                        

data-slide-count

four

any number

data-arrows

true

true, false, bottom

information-speed

300

whatever number value (in milliseconds)

data-color

black

whatsoever color value

information-slide-count: adjust the number of slides in the slider

data-arrows: add together, remove, or modify the location of the slider navigation arrows

data-speed: modify the transition-time between each slide (in milliseconds)

data-color: changes the color of your slider navigation arrows and dots (HEX or any color value)

Turn Each Slide Into A Link

I've had a lot of people inquire me how to practise this, if you'd like to turn each slide in your slider into a link, bank check out this article I wrote: Turn an Unabridged Section into a Link.

Pro Slider 3.0

Sliding Image Imprint

ten.00

Meet Demo

✓ Works in Squarespace vii.i & 7.0 Brine Templates
✓ Automobile-advance slider
✓ Play / Break push
✓ Slider Dots
✓ Gradient overlay on groundwork-images
✓ Additional button layouts
✓ Aforementioned easy setup and install

Requires the Squarespace Business concern Plan

Approved for apply on 1 website.
To apply on unlimited websites or templates,
purchase a business license.

Will Myers

I support spider web designers and developers in Squarespace by providing resources to improve their skills.

https://www.will-myers.com