Jump to content

Adding Spacer back to Mobile or Resizing image

Recommended Posts

Site URL: https://www.andrearteaga.com

Hi I have tried searching for this yet can not seem to find anything on it,

My question is on the arrow gif that is on my homepage (work), it is perfect size on desktop because I added spacers, but once I go to mobile the arrow is way too big. 

1) I tried resizing the image with "max-width" but it just squished the arrow instead of resizing. I may be missing something there

2) I tried to modify one of the spacers since mobile gets rid of them with this code: #block-yui_3_17_2_1_1621041734241_7526 {
    display: block !important;
  } - that made the spacer appear but it was not to the left of the arrow.

Thank you very much in advance 

Link to comment
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

2 hours ago, drealynne said:

Site URL: https://www.andrearteaga.com

Hi I have tried searching for this yet can not seem to find anything on it,

My question is on the arrow gif that is on my homepage (work), it is perfect size on desktop because I added spacers, but once I go to mobile the arrow is way too big. 

1) I tried resizing the image with "max-width" but it just squished the arrow instead of resizing. I may be missing something there

2) I tried to modify one of the spacers since mobile gets rid of them with this code: #block-yui_3_17_2_1_1621041734241_7526 {
    display: block !important;
  } - that made the spacer appear but it was not to the left of the arrow.

Thank you very much in advance 

try


@media only screen and (max-width: 768px) {
    #block-yui_3_17_2_1_1621041734241_5266 figure {
      max-width: 150px;
    }
}

image.png.1cd40d880d171f70963ece3c4aabba4d.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
11 hours ago, bangank36 said:

try



@media only screen and (max-width: 768px) {
    #block-yui_3_17_2_1_1621041734241_5266 figure {
      max-width: 150px;
    }
}

image.png.1cd40d880d171f70963ece3c4aabba4d.png

 

Okay I just tried this, thank you it worked! I just had to get rid of "figure", I also added !important but I think it could actually go without. I also added padding to center it. 

 @media only screen and (max-width: 768px) {
    #block-yui_3_17_2_1_1621041734241_5266 {
      max-width: 150px !important;
      padding-left: 105px !important;
    }
}

Screen Shot 2021-05-16 at 9.19.59 AM.png

Link to comment
On 5/16/2021 at 11:30 PM, drealynne said:

Is there a reason the actual website (On my mobile phone) is not showing the exact same as the preview in the Squarespace editor? I had to adjust padding for my mobile phone. Below is first my phone, then what it Squarespace shows

Screen Shot 2021-05-16 at 9.19.59 AM.png

Screen Shot 2021-05-16 at 9.29.32 AM.png

Have you solved it yet?

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.