Jump to content

scale image in tablet landscape mode only

Recommended Posts

Site URL: https://duelle.studio/about

Hello everyone,

how do I scale the image I am using to a 90% size only when in tablet mode landscape keeping it always full bleed? See image below to see the weird crop on tablet landscape mode.

 I had this but it doesn't do the right thing, only cropping the image rather than scaling:

@media screen and (max-width: 1200px) {
 img {
   width: 80% !important;

I have tried this too, but it doesn't work either. it just creates an empty band at low level.

  //smaller image in tablet mode
@media screen and (max-width: 1200px){
 img {
   width: 100% !important;
   height: auto !important;


page :  https://duelle.studio/about


Thank you in advance to all for the help.



Link to comment
  • Replies 2
  • Views 291
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.