Jump to content

Can I force a gallery height on mobile?

Recommended Posts

  • Replies 5
  • Views 372
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try this CSS

/* Mobile Home Slide */
@media screen and (max-width:767px) {
[data-section-id="61ccd1357ca9f00e88d59732"] {
    min-height: unset !important;
    height: 20vh !important;
div#block-yui_3_17_2_1_1640812509246_8099 {
    width: 50%;
    margin: 0 auto;
    padding-top: 0px !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.