razmalazz Posted July 16, 2019 Posted July 16, 2019 Is it possible to have a gallery change from horizontal scrolling for desktop version to vertical scrolling for mobile devices? I have a gallery page that looks nice scrolling horizontally, but when the responsive design changes to mobile or tablet and so portrait it leaves a lot of blank space underneath and generally doesn't look that good. I would like a gallery that when in mobile or tablet mode will scroll vertically and in desktop horizontally. Any help anyone has to offer on this is appreciated!
paul2009 Posted July 16, 2019 Posted July 16, 2019 In a word, no. However, there may be other things you can do to adjust spacing or design. The community will need a working link to your website in order to see the issue, the template you are using and the settings in use. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Of course! Thanks Paul. My website is www.studiovidere.com
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Of course! Thanks Paul. My website is www.studiovidere.com
paul2009 Posted July 16, 2019 Posted July 16, 2019 If you don't intend to put content below this, one solution would be to show the content in a Carousel Gallery Block on desktop (similar to what you have now) and then switch to a Stack Gallery Block or Grid Gallery Block on mobile devices: Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 That's exactly what I want to do! But, when I change it on mobile to stacked it does it for desktop too and vice versa. I spoke to someone on the squarespace team and they said they didn't think it was possible, but I thought I'd ask here in case someone knows a way.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 That's exactly what I want to do! But, when I change it on mobile to stacked it does it for desktop too and vice versa. I spoke to someone on the squarespace team and they said they didn't think it was possible, but I thought I'd ask here in case someone knows a way.
paul2009 Posted July 16, 2019 Posted July 16, 2019 It's possible :-) The next step is to create a page where you can see it working. Add the two Gallery Blocks to it, one above the other. Add the images to both. Set the first one to Carousel and the second to Stacked or Grid, as discussed above. Once built, you'll need some CSS to hide one of the galleries depending on the visitor's device. if you need help with this, post a link to the page and I'll take a look. -Paul Squarespace Expert & Professional Developer Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Glad to hear it's possible, I've added the two gallery blocks and saved the changes. Same link, www.studiovidere.com. I don't know too much about CSS though so would definitely love your help.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Glad to hear it's possible, I've added the two gallery blocks and saved the changes. Same link, www.studiovidere.com. I don't know too much about CSS though so would definitely love your help.
paul2009 Posted July 16, 2019 Posted July 16, 2019 Now that you've added two Gallery Blocks in different styles, add this to Design > Custom CSS: @media only screen and (max-width: 768px) { #block-yui_3_17_2_1_1563217934473_3719 { display:none; } } @media only screen and (min-width: 769px) { #block-yui_3_17_2_1_1563302730204_24847 { display: none; } } When you switch between mobile and desktop, you should see the different views. It works by referring to the unique reference ID of each Gallery Block. As they are unique, it would stop working if you deleted one of these specific blocks. Let me know how you get on. -Paul Squarespace Expert & Professional Developer Contributors to this forum voluntarily give their time to help you. If we correctly answer your question, please accept the answer by clicking Accept below it (you'll see it when you're logged on). If an answer doesn't help, feel free to ask for more help or wait for other forum users to add their comments and/or answers. Whenever an accepted answer helps you, please vote it up using the up arrow on the right. This helps other forum users by giving them confidence in an answer. Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 That works great! Thank you very much for this.Do you know if there is a way to decrease this space: I think this is the area where the hidden carousel is, no worries if not, I'm happy for the help to have got me this far
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 That works great! Thank you very much for this.Do you know if there is a way to decrease this space: I think this is the area where the hidden carousel is, no worries if not, I'm happy for the help to have got me this far
paul2009 Posted July 16, 2019 Posted July 16, 2019 That's the standard margin above the page content on mobile. You can reduce it with: @media only screen and (max-width: 768px) { .site-spacing-extra-small .site-page { margin-top: 0; } } Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Is there a way to get rid of this gap between the stack and the header, I think it's the hidden carousel
razmalazz Posted July 16, 2019 Author Posted July 16, 2019 Thanks again for taking the time to help me out Paul, that did it!Website up and running now, and mobile ready.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.