Tiger_Thomas Posted October 8, 2021 Posted October 8, 2021 Site URL: https://fbcamherst.squarespace.com/staff Password on site is: fbcfbc I am trying to add a read more, expandable text field to our images using this method. I'm currently using a gallery, which does not allow HTML within the caption. As you can see, we have a lot of text. Is there a way to enable HTML inside these containers? Is there another way to create an expandable field of text within image captions? Thank you!
tuanphan Posted October 10, 2021 Posted October 10, 2021 Hi, Will you use Personal or Business Plan? 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!)
Rebecca_Grace_Designs Posted October 12, 2021 Posted October 12, 2021 I would add the html in a code block underneath each image, rather than adding the text as a caption. Coding Wiz at rebeccagracedesigns.com 📖 Code Encyclopedia for Squarespace: rebeccagracedesigns.com/encyclopedia-of-code 🔥 Free CSS Tutorials: rebeccagracedesigns.com/blog ⭐️ Free Guide to the 41 Most Popular CSS Properties: rebeccagracedesigns.com/popular-css-properties
Tiger_Thomas Posted October 12, 2021 Author Posted October 12, 2021 @rebeccagracedesigns thanks for the idea but when I do this, on mobile the images all come first, then the text fields. I want the text fields to stay beneath each image, so it needs to be attached to the image. Any other thoughts?
Beyondspace Posted October 13, 2021 Posted October 13, 2021 On 10/9/2021 at 4:00 AM, Tiger_Thomas said: Site URL: https://fbcamherst.squarespace.com/staff Password on site is: fbcfbc I am trying to add a read more, expandable text field to our images using this method. I'm currently using a gallery, which does not allow HTML within the caption. As you can see, we have a lot of text. Is there a way to enable HTML inside these containers? Is there another way to create an expandable field of text within image captions? Thank you! I shared a working snippet using jQuery Readmore.js, you can take reference there BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Rebecca_Grace_Designs Posted October 14, 2021 Posted October 14, 2021 On 10/12/2021 at 7:16 PM, Tiger_Thomas said: @rebeccagracedesigns thanks for the idea but when I do this, on mobile the images all come first, then the text fields. I want the text fields to stay beneath each image, so it needs to be attached to the image. Any other thoughts? This has to do with how you have added the blocks in the section. Drag all your images to be next to each other. Then make sure to drag the html blocks underneath each photo. If you drag all the html block next to each other, it will look lined up but they won't be in the right order on mobile. Coding Wiz at rebeccagracedesigns.com 📖 Code Encyclopedia for Squarespace: rebeccagracedesigns.com/encyclopedia-of-code 🔥 Free CSS Tutorials: rebeccagracedesigns.com/blog ⭐️ Free Guide to the 41 Most Popular CSS Properties: rebeccagracedesigns.com/popular-css-properties
Recommended Posts
Archived
This topic is now archived and is closed to further replies.