Jump to content

#block and #div mobile sizing is not working for me.

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://www.lesliefang.com/pawalong

 image.thumb.png.bcc9562dc79446b917090e21c6bab873.png

Hi,

I try searching on the forum for other code but my usual (sample below) is not working for me. Instead it'll push the margin outside of the screen instead of resizing. Is this because of the update? It's driving me insane. As you can see in the screen shot above the image size is way too small on mobile lol. Please help!

Quote

 

#block-1111111

  width: 55% !important;
  margin: 0 auto;
}

 

or 

div#block-111111
  width: 55% !important;
  margin: 0 auto;
}

 

 

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

13 hours ago, lfang2 said:

Site URL: https://www.lesliefang.com/pawalong

 image.thumb.png.bcc9562dc79446b917090e21c6bab873.png

Hi,

I try searching on the forum for other code but my usual (sample below) is not working for me. Instead it'll push the margin outside of the screen instead of resizing. Is this because of the update? It's driving me insane. As you can see in the screen shot above the image size is way too small on mobile lol. Please help!

 

I check that there is no block-1111111  on this page

What do you want to target to set style?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

I'm sorry @bangank36 I think i confused you I just use the number 1111111  as a example. :x The block I am trying to fix is too small the image as picture above. I try to use 

block-b9e49c50f6dd58a441ec

to adjust the image size on mobile but all it does is change the margin.

Link to comment
  • Solution
18 hours ago, lfang2 said:

image.thumb.png.83010f03b226862d93700a0eb7f1a525.png

Try adding to Design > Custom CSS

@media screen and (max-width:767px) {
div#block-b9e49c50f6dd58a441ec .fluid-image-container {
    transform: scale(3.5) !important;
    margin-top: 20px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.