Buy me a coffee

Hover Image show Text


Password: abc

Suppose you have an Image Block and a Text block, and you want to hover over the image, the text block will appear.

#1. First, add an Image Block and a Text Block

Hover Image Show Text 02 Min

#2.  Edit the Image Block and add this URL:

  • #text01

Make sure “Open link in New Tab” is disabled

Hover Image Show Text 01 Min

#3. Install Squarespace ID Finder to find the ID of all Blocks

In my example, we will have:

  • Image Block: No need to find ID
  • Text Block: #block-yui_3_17_2_1_1714037628161_8028

Hover Image Show Text 03 Min

#4. Use this code to Code Injection – Footer (or Page Header Code Injection)

<script src=""></script>
  }, function(){
#block-yui_3_17_2_1_1714037628161_8028 {
    display: none;
  .show {
      display: block !important;
  .show {
      z-index: 999999 !important;

Hover Image Show Text 04 Min

#5. Explain code


Hover Image Show Text 05 Min