Jump to content

Banner on Mobile

Recommended Posts

Site URL: https://rockcreek-church-new.squarespace.com/

Hello all! 

I'm working on website for a client that is a church. Got everything pretty much laid out and designed. I go to mobile view however and all the banner images on the home page are cropped really bad and the CSS code I had didn't work. I want them to all rescale so you can see the banner image. Reasoning is because I do custom graphics for their banner images or I'm using their series graphics as banners etc. They want to be able to see all that on mobile with the custom graphic stuff.

Can anyone help me. I've added screenshot of desktop version and what mobile looks like. Any help today would be AMAZING! Thanks! 

 

Screen Shot 2020-02-20 at 7.28.39 AM.png

Screen Shot 2020-02-20 at 7.28.52 AM.png

Link to comment
1 minute ago, barrysutton said:

I have the same issue. Did you manage a fix? Would love to use the code as well.

If you share link, I can take a look.

Yesterday I solved similar case, use New Image for Mobile with CSS

Also, you can use CSS to resize image & height

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
21 hours ago, barrysutton said:

HI Sorry for the late reply yes!

I checked & found code yesterday & save code in my laptop. Unfortulately It has problems, I just bought new laptop

I will check again later ☹️

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 2/28/2020 at 11:10 PM, barrysutton said:

HI Sorry for the late reply yes!

add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
[data-section-id="5e3b0863c8261f7ac1caae2f"] .section-background img {
    object-fit: contain !important;
}
[data-section-id="5e3b0863c8261f7ac1caae2f"] {
    padding-top: 0 !important;
    min-height: 60vh !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
5 hours ago, tuanphan said:

add to Home > Design > Custom CSS


@media screen and (max-width:640px) {
[data-section-id="5e3b0863c8261f7ac1caae2f"] .section-background img {
    object-fit: contain !important;
}
[data-section-id="5e3b0863c8261f7ac1caae2f"] {
    padding-top: 0 !important;
    min-height: 60vh !important;
}
}

 

Thanks so much - it works great. I really appreciate your commitment to helping so many SS users and developers.

Link to comment
  • 5 months later...
1 hour ago, Elliscreates said:

I'm having a similar issue with a slideshow reel on my homepage. Looks fine on desktop but on mobile all images and applied text are cropped out. I haven't published because it looks so bad... Help (please)!

can you share link to page where you use reel? We can check easier.

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
  • 1 year later...
On 11/26/2021 at 11:38 PM, nw7063 said:

Please can you help do the same for our website... www.soulfruit.co.uk

We would like each page banner to not resize for mobile.

Thank you so much.

 

 

You mean resize top banner on mobile on homepage?

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 11/29/2021 at 2:52 PM, nw7063 said:

yes - for every banner on each page, so that it looks the same on mobile view.

Thank you so much!

Hi. Each page will need a different code. If you still want, I will give the code for a page & give a quick guide to you apply on other pages

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 11/30/2021 at 3:35 PM, nw7063 said:

yes please - thank you so much!

our website is www.soulfruit.co.uk

Just recognize header will overlap some text in banner. How about resize banner & move it under header & set a background color for header?

eg.

image.thumb.png.068bfbe0981af050005c8ecdc6259de4.png

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

But that screenshot you took is exactly what we are trying to do for the mobile image size! I've just changed the banner image for the shop page. And going to change the rest today.

If you were able to change the coding for each page to make the banner the same as the shop page that would be amazing.

Thank you so much!

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.