Jump to content

Forte Template: Slideshow gallery to stacked with CSS?

Recommended Posts

Hi! 

I am using the Forte template and running on the 7.0 platform.

I'd like my gallery to display as stacked (as it does on mobile) instead of a slideshow like it does on desktop: https://www.bbyrd.com/marshmello

I understand that one way around it would be to embed the gallery into a page, but what I like about this template is the ease of use/updating- just creating a gallery and it adds it to the homepage and the navigation.

I wasn't sure if this could be handled with code or CSS... Any help would be appriciated.

Thanks for any assistance!
-Brandy

Link to comment
  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try this code to Website > Website Tools > Custom CSS

@media screen and (min-width:901px) {
body#collection-65fb85dc85f8e471c7c1db1a {
#fullscreenBrowser .slideshow {
    position: relative !important;
    display: grid;
    grid-template-columns: repeat(1,1fr) !important;
    height: auto !important;
}
#fullscreenBrowser .slideshow .slide {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}
#fullscreenBrowser .slideshow .slide img {
    width: 100% !important;
    left: 0 !important;
    position: relative !important;
}
.collection-detail-wrapper {
    display: none;
}
.nav-projects {
    display: none;
}
}}

 

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
  • 2 weeks later...
On 3/31/2024 at 4:59 AM, tuanphan said:

Try this code to Website > Website Tools > Custom CSS

@media screen and (min-width:901px) {
body#collection-65fb85dc85f8e471c7c1db1a {
#fullscreenBrowser .slideshow {
    position: relative !important;
    display: grid;
    grid-template-columns: repeat(1,1fr) !important;
    height: auto !important;
}
#fullscreenBrowser .slideshow .slide {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}
#fullscreenBrowser .slideshow .slide img {
    width: 100% !important;
    left: 0 !important;
    position: relative !important;
}
.collection-detail-wrapper {
    display: none;
}
.nav-projects {
    display: none;
}
}}

 

Hi! that didn't work.... it still kept it in a scroll.

Thanks for trying though!

 

-brandy

Link to comment

I suspect what @bbyrd wants is for the desktop version of the gallery to look like the mobile version. Both desktop and mobile should be vertically stacked.

I don't have a solution and it could be a bit tricky as I think SS is doing some calculations with code on the fly at times.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.