Jump to content

Logo images in banners appearing too large in mobile site

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 6
  • Views 504
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Every page on the website (besides the 'Become a Member' page) is experiencing the same issue - you will see in each header banner, this logo appears too large on the mobile device - thank you for your assistance!

Posted (edited)

Edit page where you have problem >> Add a Code Block (anywhere) >> Paste this code

<style>
  @media screen and (max-width:767px) {
  div#block-yui_3_17_2_1_1639369967627_2711 {
    width: 30%;
    margin: 0 auto;
}
  }
</style>

div#block....2711 is Image block id. Find id with this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Edited by tuanphan

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!)

Posted
19 hours ago, tuanphan said:

Edit page where you have problem >> Add a Code Block (anywhere) >> Paste this code

<style>
  @media screen and (max-width:767px) {
  div#block-yui_3_17_2_1_1639369967627_2711 {
    width: 30%;
    margin: 0 auto;
}
  }
</style>

div#block....2711 is Image block id. Find id with this tool https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en

Hello,

Adding a code block to the page did not seem to work - take a look at the screenshots, the logo file is still much too large on the mobile site

Screen Shot 2022-01-27 at 2.04.55 pm.png

Screen Shot 2022-01-27 at 2.05.02 pm.png

Posted
21 hours ago, tuanphan said:

Above code for Events Page. With other page, replace with new block id. use above code to find block id.

image.thumb.png.7580bc16e08408cb4d2a964de2a9ce0a.png

Thank you so much - this worked perfectly!

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.