Margaret55 Posted May 11, 2022 Share Posted May 11, 2022 Site URL: https://kistcreekcattle.squarespace.com Hi, I am trying to write css to put the slideshow caption over a slide image. I have been able to access the slide item in the slideshow and color the background of the caption text but I don't know how to put the caption text over the slideshow image. Can you help? Here is my css code: .gallery-slideshow-item-wrapper{opacity:0.4;} .gallery-caption-slideshow {background-color:rgba(0, 0, 0, 0.2)} Attached is a image of what I am trying to achieve. The sitewide password to my site is :#Cattle. The slideshow I am playing with is the first slideshow under Horses For Sale. The second slideshow is what I am trying to do using an inline image that has this functionality in squarespace 7.1. Thanks so much, Margaret Anemone 1 Link to comment
Solution creedon Posted May 11, 2022 Solution Share Posted May 11, 2022 Replace your .gallery-caption-slideshow ruleset with the following. .gallery-caption-slideshow { background-color : rgba( 0, 0, 0, 0.8 ); height : auto; margin-top : 0; padding : 0.5em; position : absolute; top : 50%; transform : translateY( -50% ); } This is for v7.1 and specific to the posters need. Let us know how it goes. Anemone 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Margaret55 Posted May 12, 2022 Author Share Posted May 12, 2022 Perfect! You are the best! I can tweak it from here. creedon and Anemone 1 1 Link to comment
creedon Posted July 18 Share Posted July 18 Here is a variation on my previous code for Slideshow : Full. .gallery-caption-fullscreen-slideshow { background-color : rgba( 0, 0, 0, 0.8 ); color : white; height : auto; margin-top : 0; padding : 0.5em; position : absolute; top : 50%; transform : translateY( -50% ); } This is for v7.1. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
ShreyaK Posted July 21 Share Posted July 21 I want it to look like this - but in the middle and also use the h2 font that I have added Link to comment
tuanphan Posted July 25 Share Posted July 25 On 7/22/2024 at 2:49 AM, ShreyaK said: I want it to look like this - but in the middle and also use the h2 font that I have added The site is expired. You can check again then we can test code 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
ShreyaK Posted July 25 Share Posted July 25 https://keyboard-platinum-k3wn.squarespace.com/ pass:hc123 Link to comment
tuanphan Posted July 28 Share Posted July 28 On 7/26/2024 at 3:38 AM, ShreyaK said: https://keyboard-platinum-k3wn.squarespace.com/ pass:hc123 I see you figured it out? 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
ShreyaK Posted July 29 Share Posted July 29 no the font is still not h2, its not letting me set it to h2, also want to make the box bigger to match this Link to comment
tuanphan Posted August 1 Share Posted August 1 On 7/30/2024 at 5:10 AM, ShreyaK said: no the font is still not h2, its not letting me set it to h2, also want to make the box bigger to match this You can use this to Website Tools > Custom CSS body.homepage .gallery-section .gallery-fullscreen-slideshow .gallery-caption p { font-size: 40px !important; line-height: 36px; font-family: freight-display-pro; font-weight: 400; } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment