Photo Captions Superimposed

mcemental
Member

I have captions superimposed on the images in a slider. How can I adjust the vertical alignment? They seem to get pushed low on the image when playing with the responsiveness. How can I get them to stay vertically centered in the image and responsive?

1 Reply 1
TRooInbound
Key Advisor

Hi @mcemental,

 

I think in image slider what you use is Image element as image tag and caption as some HTML header tag or paragraph.

 

In your case, you have to use position = absolute and adjust with some CSS syntax like a top, left and transform.

 

or you have to set Image as a background image with suitable height and set a caption

with display = table. 

 

let us know if you want to set up a custom slide with all flexibility, editability and interactivity combine in HubSpot.

just email us with a requirement at hello@trooinbound.com

 

Did my post help answer your query? Help the Community by marking it as a solution.

 

Team TRooInbound

0 Upvotes