Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Adding text in the middle of an gallery block simple image


ArvinPaul

Question

6 answers to this question

Recommended Posts

  • 0
7 hours ago, ArvinPaul said:

Site URL: https://elephant-wrasse-w57r.squarespace.com

image.thumb.png.fc39d1e4b6a4511e01938f4a6206e572.pngHow do I remake this style with my gallery block

this was the link of that website https://dillonkivo.com/

the password of my website is 123456

Gallery support desciption in html

<img src="https://upload.wikimedia.org/wikipedia/commons/6/6d/Windows_Settings_app_icon.png"/><h1>INCREASE INCOME</h1>

image.png.1156647381e9f64be3de6070fc022b92.png

Add this to custom css and modify as your need

.gallery-grid-item {
  position: relative;
}
.gallery-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery-caption-wrapper img {
    position: relative;
    width: 32px;
    margin: 0 auto;
}
.gallery-caption-wrapper h1 {
    text-align: center;
    font-size: 1em;
    margin-top: 10px;
}

 

image.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • 0
Posted (edited)
On 3/4/2021 at 10:59 PM, bangank36 said:

Gallery support desciption in html


<img src="https://upload.wikimedia.org/wikipedia/commons/6/6d/Windows_Settings_app_icon.png"/><h1>INCREASE INCOME</h1>

image.png.1156647381e9f64be3de6070fc022b92.png

Add this to custom css and modify as your need


.gallery-grid-item {
  position: relative;
}
.gallery-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gallery-caption-wrapper img {
    position: relative;
    width: 32px;
    margin: 0 auto;
}
.gallery-caption-wrapper h1 {
    text-align: center;
    font-size: 1em;
    margin-top: 10px;
}

 

image.png

I dont know why it does not work on my site maybe there is something wrong with my code? and I would like to add the brightness hover effect how do I add it to my gallery block? 

pls help me

https://manatee-azalea-la3y.squarespace.com

pass: 123456

Edited by ArvinPaul
Link to comment
  • 0
20 minutes ago, ArvinPaul said:

I dont know why it does not work on my site maybe there is something wrong with my code? and I would like to add the brightness hover effect how do I add it to my gallery block? 

pls help me

https://manatee-azalea-la3y.squarespace.com

pass: 123456

you should make caption enabled

image.png.adda924670f4f9e4f48aeec6ac4ab25e.png

Greeting, it's BaNgan from BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Youtube Gallery for Squarespace
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...