Jump to content

Mobile > Summary Block > Background Not Fitting to Device Width

Recommended Posts

  • Replies 4
  • Views 683
  • Created
  • Last Reply

You can wrap your current Custom CSS in a media query that will render your changes only on desktop. 

@media screen and (min-width: 800px) {
  #block-yui_3_17_2_1_1574400161847_5399 .summary-block-wrapper {
    background: #e4e4e4;
    margin-left: -300px;
    margin-right: -300px;
    margin-bottom: 0px;
    padding-bottom: 3vw;
    padding-left: 300px;
    padding-right: 300px;
    margin-top: 0;
  }
}

 

Link to comment
  • 7 months later...

Hi @tuanphan! (Or maybe someone else can help with that?

 

I have the same issue. On quite an old template, which I can't migrate from - mobile version has this weird empty space to the write of the website... Website loads normally, but you can move it to the left (on mobile only), if you try to swipe right to left. Not quite sure how to get rid of that...  https://www.yuriyyurchuk.com/  

 

Would really appreciate some help here! Thank you!

Untitled.jpg

Link to comment
On 7/11/2020 at 12:59 AM, Bailante said:

Hi @tuanphan! (Or maybe someone else can help with that?

 

I have the same issue. On quite an old template, which I can't migrate from - mobile version has this weird empty space to the write of the website... Website loads normally, but you can move it to the left (on mobile only), if you try to swipe right to left. Not quite sure how to get rid of that...  https://www.yuriyyurchuk.com/  

 

Would really appreciate some help here! Thank you!

Add to Home > Design > Custom CSS

@media screen and (max-width:640px) {
html, body {
	overflow-x: hidden;
}
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.