Jump to content

CSS for - Gallery / Carousel Viewport Height for Mobile

Recommended Posts

Hey friends! 

I'm currently building out my new website and learning a lot. Especially CSS. I've built out the homepage and have a featured work section that on desktop is great (would like to know the css to change the height) but on mobile the Gallery is far too small and I would like to increase the height. Please help?

www.jsdco.ca – 3411

Screenshot 2023-11-02 at 2.45.23 PM.png

Screenshot 2023-11-02 at 2.45.39 PM.png

Link to comment
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Try some CSS like this

/* resize top slideshow */
@media screen and (max-width:767px) {
body.homepage .gallery-block, body.homepage .gallery-block .slide, body.homepage .sqs-gallery-design-stacked {
    height: 350px !important;
    body.homepage .gallery-block img {
        top:0 !important;
        height: 100% !important;
        left: 0 !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

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.