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

Overlay Captions - Changing the font size


LV-OZ

Question

Site URL: https://lobster-ray-g42d.squarespace.com/provenance

Hello

 

I am trying to change the size of the text for the caption overlay with images, as I find them too big. 

However when I use the code below, the font changes size but now it is not centred vertically within the coloured panel behind it.

I would also like to change the width of the overlay, so that I can control how far it reaches over the image.

Are there ways to fix these two issues? 

Thank you!

Louisa

 

PW: youcanenter

 

#block-adb66a3f627a6fb81da8 a {
  text-decoration: none !important;
  font-size:30px;
  letter-spacing: 0.1em;
}

            
@media screen and (max-width: 640px) { 
#block-adb66a3f627a6fb81da8 a {
  text-decoration: none !important;
  font-size:20px;
  letter-spacing: 0.1em;
}
}

Screen Shot 2021-07-25 at 1.13.23 PM.png

Edited by LV-OZ
Link to comment
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

2 answers to this question

Recommended Posts

  • 0
On 7/25/2021 at 12:16 PM, LV-OZ said:

Site URL: https://lobster-ray-g42d.squarespace.com/provenance

Hello

 

I am trying to change the size of the text for the caption overlay with images, as I find them too big. 

However when I use the code below, the font changes size but now it is not centred vertically within the coloured panel behind it.

I would also like to change the width of the overlay, so that I can control how far it reaches over the image.

Are there ways to fix these two issues? 

Thank you!

Louisa

 

PW: youcanenter

 

#block-adb66a3f627a6fb81da8 a {
  text-decoration: none !important;
  font-size:30px;
  letter-spacing: 0.1em;
}

            
@media screen and (max-width: 640px) { 
#block-adb66a3f627a6fb81da8 a {
  text-decoration: none !important;
  font-size:20px;
  letter-spacing: 0.1em;
}
}

Screen Shot 2021-07-25 at 1.13.23 PM.png

You want to control the font size of this ?

image.png.905b7a20f50ae5fb0b329b9ed0eb8a8d.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...