Jump to content

Help with code for text overlay on gallery slideshow

Recommended Posts

I'm customizing the font overlay for a fullscreen slideshow gallery section using this code (pieced together by me who is not a css expert!) but the text is getting cut off. 

Can anyone help reveal the missing text? Bonus points for helping me make it mobile responsive!

caption-fullscreen-slideshow {
    position: absolute;
    top: 42% ;
    background: rgba(0,0,0,0);
    color: white;
    left: 0;
    text-align: overlay;
}
figcaption.gallery-caption.gallery-caption-fullscreen-slideshow {
p {
  font-size: 300%;
  font-weight:800;
  }
}

 

Thanks!!

Screen Shot 2023-06-22 at 10.57.43 PM.png

Link to comment
On 6/24/2023 at 1:45 AM, Anemone said:

Sorry! I thought it would be shown at the top. Url is https://dory-sparrow-crj2.squarespace.com/

I was able to fix that issue, BUT I'm now wondering if there is a way to remove the white block at the bottom of the slideshow. If you turn off captions it goes away, but then, of course, so do the captions! 

Thanks so much for your help!

The site is private. Can you setup an access password? We can access site easier

 

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

Got it!

Thought I would share the code for a fullscreen slideshow caption overlay in case anyone else needs it.

figcaption.gallery-caption.gallery-caption-fullscreen-slideshow {
p {
  font-size: 300%;
  font-weight:800;
   position: absolute;
  top: -400% ;
  background: rgba(0,0,0,0);
    color: white;
  }
}

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.