Jump to content

Image in Footer on Mobile is too big

Recommended Posts

48 minutes ago, IYHPC said:

Site URL: http://www.inyourhomepetcare.com/

Hi there, 


The logo in my footer is too big on mobile. How can I make it smaller on mobile only? Every code i've tried hasn't done anything. Thank you!

Site password is: iyhpc123

Screen Shot 2022-03-24 at 11.22.15 AM.png

Hi, try adding this code to custom css (Design > Custom CSS), and let me know how it goes 🙂 

@media screen and (max-width:767px) {
  #block-yui_3_17_2_1_1647046199937_12384 {
    width: 40%;
  }
}

 

Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified.

Link to comment
49 minutes ago, IYHPC said:

@Jia That worked! How do I center the image though? And if there's a way to center the footer text on mobile too, that would be incredible!!
Thank you so much! 

Sure thing, here's the code to center everything:

footer#footer-sections {
  text-align: center;
  .sqs-block-button-container--left {
    text-align: center;
  }
}


#block-yui_3_17_2_1_1647046199937_12384 {
  margin:auto;
}

Please give this a 👍 if it helps. Make sure to quote me or tag me in your reply, otherwise I won't be notified.

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.