Jump to content

How to make pictures smaller for the phone?

Recommended Posts

  • Replies 6
  • Views 451
  • Created
  • Last Reply

Top Posters In This Topic

Is it the result you want to achieve?

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .user-items-list-item-container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px 20px !important;
  }
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 11/26/2021 at 4:45 PM, bangank36 said:

Thank you so so much! Do you have any code for the first photo (hero or baner or whats the correct name)? If it can be smaller?

 

Is it the result you want to achieve?

 

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .user-items-list-item-container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px 20px !important;
  }
}

Let me know how it works on your site

 

 

 

Press 👍 or mark this answer as solution to help another one too

 

Link to comment

@trapdooralice to resize hero slide, try adding to Design > Custom CSS

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] ul {
    min-height: 10vh !important;
}
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] ul img {
    object-fit: contain !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
43 minutes ago, tuanphan said:
@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] ul {
    min-height: 10vh !important;
}
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] ul img {
    object-fit: contain !important;
}
}

It worked, thank you so much! Text is a bit too big and it covers the pictures, do you have any code for this? Also, but not that important, if there is a code for make the space a bit smaller/put the slide show a bit higher.

ko.jpg

Link to comment
On 12/4/2021 at 4:21 PM, trapdooralice said:

It worked, thank you so much! Text is a bit too big and it covers the pictures, do you have any code for this? Also, but not that important, if there is a code for make the space a bit smaller/put the slide show a bit higher.

ko.jpg

Keep the code & add this code under

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] {
h2.list-item-content__title {
    position: relative;
    top: -100px;
}
.list-item-content__button-container {
    position: relative;
    top: -100px;
}}
}

 

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
On 12/8/2021 at 9:09 AM, tuanphan said:

Keep the code & add this code under

@media screen and (max-width:767px) {
.user-items-list-item-container[data-section-id="6176e6f4e0e8eb155e17df52"] {
h2.list-item-content__title {
    position: relative;
    top: -100px;
}
.list-item-content__button-container {
    position: relative;
    top: -100px;
}}
}

 

This happens

gtrz.png

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.