Jump to content

7.1 GALLERY IMAGES: Overlay, Title, Caption on Hover

Go to solution Solved by Web_Solutions,

Recommended Posts

Site URL: https://aardvark-jellyfish-fwmh.squarespace.com/

Hello!

I've been reading through forums for hours trying to work this out but cannot! 

I just wanna have a good old hover overlay with

'Title'

'Caption' 

preferably being able to change font size, type, weight etc. 

If anyone can help me, I'll be eternally grateful!

LINK: https://aardvark-jellyfish-fwmh.squarespace.com/
PASSWORD: milk

The gallery I'm trying to do this on is the ARTISTS page. 

See images for examples of current state and what I'd ideally like to achieve.. 

Screen Shot 2022-04-13 at 12.10.16 PM.jpg

Edited by Isaebella
Link to comment
  • Solution

Add these code Design > Custom CSS

[data-section-id="6255bc1c45bfd50bf4acdeaf"] {
  .gallery-caption-content{
    display: block !important;
    b{
      font-family: linotype-didot-headline !important;
      font-size: 28px;
      line-height: 1.2;
    }
  }
}

Here you can increase or decrease the font size on here(see image)

Screenshot_166.png

Edited by Web_Solutions

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

It worked, thank you so much! I really appreciate it. 

Do you perchance know how I could make the description (not the heading) all uppercase in the code? And choose different colours for the heading and the description? 

Thank you so much again, you're a legend!

 

Screen Shot 2022-04-14 at 2.55.14 AM.png

Screen Shot 2022-04-14 at 2.55.26 AM.png

Screen Shot 2022-04-14 at 2.56.18 AM.png

Edited by Isaebella
Link to comment
On 4/13/2022 at 9:56 PM, Isaebella said:

It worked, thank you so much! I really appreciate it. 

Do you perchance know how I could make the description (not the heading) all uppercase in the code? And choose different colours for the heading and the description? 

Thank you so much again, you're a legend!

 

Screen Shot 2022-04-14 at 2.55.14 AM.png

Screen Shot 2022-04-14 at 2.55.26 AM.png

Screen Shot 2022-04-14 at 2.56.18 AM.png

Have you solved it yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.