Buy me a coffee

Add an Image Block over Gallery Slideshow

Suppose you want to move 2 Image Blocks over 2 Slideshows, you can follow these.

#1. Add a Section with 2 Image Blocks

add-an-image-block-over-gallery-slideshow-01-min

 

#2. Use Squarespace ID Finder to find the ID of 2 Image Blocks and 2 Slideshows. In my example, we will have:

  • Image Block 1 (Left image): #block-yui_3_17_2_1_1716948754371_2168

add-an-image-block-over-gallery-slideshow-02-min

  • Image Block 2 (Right image): #block-yui_3_17_2_1_1716948754371_3229

add-an-image-block-over-gallery-slideshow-03-min

  • Left Slideshow: section[data-section-id=”6655814af27321176a65fb4e”]

add-an-image-block-over-gallery-slideshow-04-min

  • Right Slideshow: section[data-section-id=”6655814af27321176a65fb50″]

add-an-image-block-over-gallery-slideshow-05-min

#3. Use this code to Code Injection – Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
 $(document).ready(function() {
  	// VFX
  $('div#block-yui_3_17_2_1_1716948754371_2168').appendTo('section[data-section-id="6655814af27321176a65fb4e"] .gallery-fullscreen-slideshow-list');
  	// Postproduction
  $('div#block-yui_3_17_2_1_1716948754371_3229').appendTo('section[data-section-id="6655814af27321176a65fb50"] .gallery-fullscreen-slideshow-list');   
  });
</script>

add-an-image-block-over-gallery-slideshow-06-min

#4. Use this code to Custom CSS box to align the image center + adjust the image block size.

div.gallery-fullscreen-slideshow-list .image-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 350px;
    z-index: 999999
}

add-an-image-block-over-gallery-slideshow-08-min

#5. Result

add-an-image-block-over-gallery-slideshow-07-min

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder