Jump to content

There is a problem with the viewing size of my website banner on the mobile side

Go to solution Solved by paul2009,

Recommended Posts

  • Solution
36 minutes ago, CQURE said:

There is a problem with the viewing size of my website banner on the mobile side, but there is no problem on the computer side. How can I add css to solve this problem?

You'll have problems with these images at all resolutions because of the embedded text. It's better to add the text with titles and descriptions so that the size can be adjusted for different sized devices.

However, to answer your question, you can adjust the size of the slideshow images on mobile by adding the following to Design > Custom CSS and adjusting as necessary.

@media screen and (max-width:767px) {
  .gallery-fullscreen-slideshow[data-width="full-bleed"] {
    height: 24vh !important;
  }
}

956993818_Screenshot2021-05-07at10_13_35.png.36de91e952e36f86b551fd6e73430ed4.png

Edited by paul2009

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.