Jennverrier Posted December 29, 2022 Share Posted December 29, 2022 On desktop view, I have a full bleed slideshow for my homepage. Is there any way to have on mobile a single column grid view instead? Such as in the attached pic. I’m guessing it’s not possible to have different formats on desktop and mobile but thought I’d ask just in case. Link to comment
tuanphan Posted December 30, 2022 Share Posted December 30, 2022 Hi, This is possible. If you share link to page where you use gallery, we can help 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
Jennverrier Posted December 30, 2022 Author Share Posted December 30, 2022 7 hours ago, tuanphan said: Hi, This is possible. If you share link to page where you use gallery, we can help easier https://orchid-flatworm-splc.squarespace.com/ temppassword123 Link to comment
Jennverrier Posted December 30, 2022 Author Share Posted December 30, 2022 9 hours ago, tuanphan said: Hi, This is possible. If you share link to page where you use gallery, we can help easier Tuan, I think I figured it out. If I use code to "hide" the slideshow on mobile only, and add it's own gallery with the same images I can do the stacked images instead. Let me know if you can take a look and if you think there is any better way? Thanks! tuanphan 1 Link to comment
tuanphan Posted January 3, 2023 Share Posted January 3, 2023 On 12/31/2022 at 2:14 AM, Jennverrier said: Tuan, I think I figured it out. If I use code to "hide" the slideshow on mobile only, and add it's own gallery with the same images I can do the stacked images instead. Let me know if you can take a look and if you think there is any better way? Thanks! Yes. I usually do 2 approaches #1. Add 2 Galleries: Slideshow - Grid, then use code to show Grid on mobile, show slideshow on desktop. If you need code for this, add 2 galleries first, then we can check & give code easier #2. Use code and try change slideshow to grid on mobile. 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
Jennverrier Posted January 3, 2023 Author Share Posted January 3, 2023 11 minutes ago, tuanphan said: Yes. I usually do 2 approaches #1. Add 2 Galleries: Slideshow - Grid, then use code to show Grid on mobile, show slideshow on desktop. If you need code for this, add 2 galleries first, then we can check & give code easier #2. Use code and try change slideshow to grid on mobile. Tuan, Below is the code I used for option #1. Is there anything better? What code would you use for option #2? /* Hide this on Mobile */ @media screen and (max-width:640px) { [data-section-id="630138d6c9719d4bab17463e"] { display: none; } } /* Hide this on Tablet - Desktop */ @media screen and (min-width:768px) { [data-section-id="63af5cdb645430422bb7652f"] { display: none; } } Link to comment
tuanphan Posted January 5, 2023 Share Posted January 5, 2023 On 1/3/2023 at 9:32 PM, Jennverrier said: Tuan, Below is the code I used for option #1. Is there anything better? What code would you use for option #2? /* Hide this on Mobile */ @media screen and (max-width:640px) { [data-section-id="630138d6c9719d4bab17463e"] { display: none; } } /* Hide this on Tablet - Desktop */ @media screen and (min-width:768px) { [data-section-id="63af5cdb645430422bb7652f"] { display: none; } } #1. first code, change 640px to 767px #2. First, remove this code @media screen and (max-width: 767px) { body.homepage .gallery-fullscreen-slideshow { height:30vh !important } } Then add this to Design > Custom CSS /* Gallery slideshow to stacked */ @media screen and (max-width:767px) { body.homepage { .gallery-fullscreen-slideshow * { opacity: 1 !important; } figure.gallery-fullscreen-slideshow-item { position: relative !important; visibility: visible !important; } .gallery-fullscreen-slideshow { height: auto !important; } .gallery-fullscreen-slideshow-wrapper { height: 100% !important; } .gallery-fullscreen-slideshow-list { position: static !important; height: auto !important; } .gallery-fullscreen-slideshow-item img { position: static !important; visibility: visible !important; } .gallery-fullscreen-slideshow-controls { display: none !important; }}} 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
Jennverrier Posted January 6, 2023 Author Share Posted January 6, 2023 I tried the 2nd option, but not seeing anything. Just white space? Link to comment
tuanphan Posted January 8, 2023 Share Posted January 8, 2023 On 1/6/2023 at 11:59 PM, Jennverrier said: I tried the 2nd option, but not seeing anything. Just white space? You can remove the code, I will test it again 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
pedropode Posted January 9, 2023 Share Posted January 9, 2023 Hello Guys, I have the same problem with my website! Do you think I could get some help. I would like to have two different galery types on my mobile and desktop. I would like to see "diasporama:Bobine" on my Desktop and "grille:Bandes" on my phone. I would like to add this option to SELECTED PRINTS and PORTRAITS. PS: I cannot do code. I know nothing of it! Thank you Pedro Link to comment
pedropode Posted January 9, 2023 Share Posted January 9, 2023 https://capybera-red-nd44.squarespace.com/config/help DSRW2U55XF2W552MYDXSPBPJ223Z6ITM Link to comment
tuanphan Posted January 13, 2023 Share Posted January 13, 2023 On 1/9/2023 at 4:21 PM, pedropode said: https://capybera-red-nd44.squarespace.com/config/help DSRW2U55XF2W552MYDXSPBPJ223Z6ITM Which page are you referring to? /config is admin 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