Jump to content

Bedford banner image appears larger on ipad/phone than laptop

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

HI

Would anyone be able to help? viewing our website on a laptop the website appears fine however when viewing on a ipad or phone the main banner picture that appears under the main navigation appears larger (alot more space at the top )is there any custom code that code possibly fix this for tablet/mobile?

 

Thanks in advance for any help given.

 

 

Edited by stur
  • stur changed the title to Bedford banner image appears larger on ipad/phone than laptop
  • Replies 6
  • Views 435
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Thanks for the reply, no the picture is still very big when viewing on a tablet/ipad seems fine on a desktop and phone.. 

Edited by stur
  • Solution
Posted
17 hours ago, stur said:

Thanks for the reply, no the picture is still very big when viewing on a tablet/ipad seems fine on a desktop and phone.. 

Try adding to Design > Custom CSS

/* tablet homepage top banner */
@media screen and (max-width:900px) and (min-width:641px) {
body.homepage figure img {
    width: 100% !important;
    height: auto !important;
    left: 0 !important;
}
body.homepage .banner-thumbnail-wrapper.has-description {
    height: 250px !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!)

Posted

That works great on the homepage banner thank you for your help.

Can I just confirm if I want all banners at the top of all pages to be this size I just remove "body.homepage"?

It seems to work when I tried it.

Thanks again for the help.

 

Posted
On 3/16/2022 at 9:41 PM, stur said:

That works great on the homepage banner thank you for your help.

Can I just confirm if I want all banners at the top of all pages to be this size I just remove "body.homepage"?

It seems to work when I tried it.

Thanks again for the help.

 

Just, just remove body.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!)

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.