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: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.