SunnyHung Posted May 12, 2020 Share Posted May 12, 2020 Site URL: https://www.infinityhk.org/ I would like to add button to the slideshow-gallery. 1 button per 1 slide. I found this code in the forum but it does not work for me. Please kindly advise. Website pw: abcd1234 section#ingredients-gallery .Index-gallery-wrapper .Index-gallery-item p:last-child { background: #fff; color: #000; display: block; max-width: 200px; text-align: center; padding-top: 10px; padding-bottom: 10px; padding-left: 20px; padding-right: 20px; border-radius: 10px; } Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 Can you add text link first? Then I can give code to make text link to button. 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
SunnyHung Posted May 13, 2020 Author Share Posted May 13, 2020 It brings up another question how can I add the text link over the slideshow-gallery? Link to comment
tuanphan Posted May 13, 2020 Share Posted May 13, 2020 54 minutes ago, SunnyHung said: It brings up another question how can I add the text link over the slideshow-gallery? Try. Not sure I will help.. 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
SunnyHung Posted May 14, 2020 Author Share Posted May 14, 2020 Thanks!!! I added the text over the slide-gallery. But it seems that it can only retrieve the description of the photo. If I want to make it like the below pic having 2 font style with a action button linking to other page, what should I do? Link to comment
tuanphan Posted May 14, 2020 Share Posted May 14, 2020 37 minutes ago, SunnyHung said: Thanks!!! I added the text over the slide-gallery. But it seems that it can only retrieve the description of the photo. If I want to make it like the below pic having 2 font style with a action button linking to other page, what should I do If you can add text link in description, i can give code to break text in new line + convert to button. 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
SunnyHung Posted May 14, 2020 Author Share Posted May 14, 2020 I added the text link. Thanks Link to comment
tuanphan Posted May 14, 2020 Share Posted May 14, 2020 I mean text link... not image link It seems your squarespace version doesnt support this. In SS 7.0, you can use Gallery Block to add text/link.. 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
SunnyHung Posted May 15, 2020 Author Share Posted May 15, 2020 Ys...It is in SS7.1. Any other method? Link to comment
tuanphan Posted May 15, 2020 Share Posted May 15, 2020 (edited) You can use this plugin to bring back Gallery Block. Edited September 15, 2021 by tuanphan 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
christyprice Posted June 4, 2020 Share Posted June 4, 2020 @SunnyHung, I have a video on a workaround that allows you to add buttons to slideshows. tuanphan, Anemone and thilldesign 3 christyprice.com 🇺🇸 Austin, TX US ✅ Get my Starter Template for Web Designers 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 Link to comment
Kate Posted June 4, 2020 Share Posted June 4, 2020 I have one as well for achieving slideshows with content overlaid in 7.1 — www.squareaddons.com If you are looking for a way to add Anchor Links, Gallery Blocks, or a Rotating Banner with Content Blocks overlaid in Squarespace 7.1, you can find all these plugins in our Squarespace add-on store here: www.Squareaddons.com -- Enjoy! Link to comment
BradleyRW Posted July 11, 2022 Share Posted July 11, 2022 On 5/13/2020 at 2:13 PM, SunnyHung said: It brings up another question how can I add the text link over the slideshow-gallery? Did you get an answer to add a button or text over a slideshow gallery? I would love to know how to do that. Link to comment
tuanphan Posted July 12, 2022 Share Posted July 12, 2022 16 hours ago, BradleyRW said: Did you get an answer to add a button or text over a slideshow gallery? I would love to know how to do that. Add a Gallery Slideshow Section Paste this code to Page Header <style> figcaption.gallery-caption.gallery-caption-fullscreen-slideshow { position: absolute !important; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 80%; margin-top: 0; height: auto; } figcaption.gallery-caption.gallery-caption-fullscreen-slideshow h4 { margin: 0; } figcaption.gallery-caption.gallery-caption-fullscreen-slideshow a { background-color: white; padding: 10px 20px; margin-top: 20px; display: inline-block; border-radius: 50px; } </style> Next, edit each image > Enter this code to Description box <h4>text text</h4> <a href="https://google.com">Read Out more</a> Anemone and Patrick213 1 1 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
thilldesign Posted August 31, 2022 Share Posted August 31, 2022 On 6/4/2020 at 10:56 AM, christyprice said: @SunnyHung, I have a video on a workaround that allows you to add buttons to slideshows. This was perfect, thank you! Is it possible to use video in place of the image thumbnail? Link to comment
christyprice Posted August 31, 2022 Share Posted August 31, 2022 @thilldesign I haven't tried that - keep us posted! christyprice.com 🇺🇸 Austin, TX US ✅ Get my Starter Template for Web Designers 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 Link to comment
jlg185 Posted June 28, 2023 Share Posted June 28, 2023 @tuanphan, thanks for posting that code. That was exactly what I was looking for. However, now I have extra space below the Gallery Slideshow. Do you know how to get rid of it? Link to comment
tuanphan Posted June 28, 2023 Share Posted June 28, 2023 6 hours ago, jlg185 said: @tuanphan, thanks for posting that code. That was exactly what I was looking for. However, now I have extra space below the Gallery Slideshow. Do you know how to get rid of it? Can you share link to this page? 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
jlg185 Posted June 28, 2023 Share Posted June 28, 2023 It's not published yet but I figured out that the extra space is a result of using the caption/description. I'm just not sure how to get rid of it after using your code to move the caption/description to the center of the gallery slideshow. Link to comment
tuanphan Posted June 30, 2023 Share Posted June 30, 2023 On 6/29/2023 at 1:26 AM, jlg185 said: It's not published yet but I figured out that the extra space is a result of using the caption/description. I'm just not sure how to get rid of it after using your code to move the caption/description to the center of the gallery slideshow. You can follow this guide to share url. 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