HOW TO INSTALL THE through the mist PLUGIN


To target the individual image blocks for the effect, I have used the associated “Block ID’s”. These can be found using your browser’s developer tools and inspecting each element; however, I would highly recommend installing the “Squarespace Collection/Block Identifier” plugin if you use Google Chrome, for a quicker and easier solution.

Preparing the Image Blocks

Before we can add our code, we need to configure our image blocks so that they display both the image title and image description.

This is important as our code will modify these two elements almost exclusively.

Simply add an image block into your webpage > on the “IMAGE” dialogue box that opens up, click on the “Design” tab > select “Poster” > click on “APPLY”.

You can do this as many times as you need to, but this article covers four image blocks displayed in a grid-format.


The CSS Code

Replace the “Block ID’s” with your own; remember, you don’t need to use two image blocks for this code to work.

/*Image Block Transition Effect*/
/*Pre-rollover styles*/
#block-yui_3_17_2_1_1561975783505_26272 .image-title p,
#block-yui_3_17_2_1_1561975783505_26272 .image-subtitle p{
    position: absolute;
#block-yui_3_17_2_1_1561975783505_26272 .image-title p
  transition: 0.5s ease;
  font-size: .5em !important;
  top: 50%;
  left: 25%;
#block-yui_3_17_2_1_1561975783505_26272 .image-subtitle p
  opacity: 0 !important;
  padding: 0 40px 0 40px !important;
  top: 40%;
  font-size: 1em !important;
/*Post-rollover styles*/
#block-yui_3_17_2_1_1561975783505_26272:hover .image-subtitle p
  opacity: 1 !important;
  transition: 0.5s ease;
#block-yui_3_17_2_1_1561975783505_26272:hover .image-title p
  opacity: 0;
#block-yui_3_17_2_1_1561975783505_26272:hover .image-card-wrapper
  background-color: rgba(38%, 9%, 30%,0.6);
  transition: 0.5s ease;