georgerobertatherton Posted October 25, 2019 Share Posted October 25, 2019 Hey gang, I am building a website using the Wells template see link here https://helix-chicory-pegn.squarespace.com or live version https://murroninteriors.com/ I would like to make the slideshow gallery automatically slide / fade through the images. Does anyone know a useful bit of code I can add? Also, I would like the same format on the mobile version, currently it stacks all of the images on top of each other. Any help would be greatly appreciated! Also, whats with Squarespace removing all the great content on Squarespace Answers forum? Thanks guys! Link to comment
colin.irwin Posted October 25, 2019 Share Posted October 25, 2019 You can achieve this using the built in Gallery block https://support.squarespace.com/hc/en-us/articles/206543407-Gallery-Blocks If you're looking for a Squarespace Developer, drop me a line. Link to comment
georgerobertatherton Posted October 25, 2019 Author Share Posted October 25, 2019 Doh! Super simple. Thank you Colin. Any ideas on how to make the phone version portrait rather than landscape? So the image sits nicely on the screengrab. See screensho Link to comment
colin.irwin Posted October 25, 2019 Share Posted October 25, 2019 There's probably a more elegant way of doing this, but the following should get you there @media only screen and (max-width: 640px) { .homepage #block-yui_3_17_2_1_1572010646013_3853 { .slide img { height: 400px !important; width: 600px !important; left: -100px !important; } } } Play with the height and width, but keep the aspect ratio correct. Use the left setting to get the center of the images in view. NB. This only really works if all images have the same aspect ratio. Otherwise images will get stretched. For this reason you should put all your images (including portrait ones) on a 3:2 aspect ratio canvas. If you're looking for a Squarespace Developer, drop me a line. Link to comment
babyman Posted March 16, 2020 Share Posted March 16, 2020 I actually have the opposite question: any way to get rid of the 'fade' animation in gallery slideshows? I'm going for the hard-cut of a GIF but want to maintain full RGB color in the images. Thanks! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.