CQURE Posted May 7, 2021 Share Posted May 7, 2021 Site URL: https://www.pendoo.tv/ 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? my website is: https://www.pendoo.tv/ Link to comment
Solution paul2009 Posted May 7, 2021 Solution Share Posted May 7, 2021 (edited) 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; } } Edited May 7, 2021 by paul2009 tuanphan and CQURE 2 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment