Jump to content

How do I create a text rollover on my gallery thumbnails?

Recommended Posts

Hi @promptcollective! After trying loads of different options, this was the only one that worked - so thanks!

Quick question... as you have used numerical values for the position pasted below: (top: -150px; margin-bottom: -15px; )

...it's only centred when the window is viewed in one specific size. if you stretch the window, the text is then in the bottom third of the image. Is there a way to set it to be centred over the image absolutely, no matter what break point it's viewed at?

This might be obvious, I'm new to CSS so apologies in advance if so. :)...

Link to comment
  • Replies 50
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.