Jump to content

Reduce Rotating Image size on Mobile View

Recommended Posts

Posted

Site URL: https://parrotfish-swordfish-rf54.squarespace.com/config/design/custom-css

Hi there!

I uploaded an image icon and I am overlapping it on the section on top and added CSS to automatically rotate it but I noticed on the mobile view the icon is huge. See image attached. Does anyone know what code I can use to reduce the size just on Mobile view?

https://parrotfish-swordfish-rf54.squarespace.com/config/design/custom-css and the password is Kayla

Screen Shot 2021-09-24 at 9.07.51 PM.png

Screen Shot 2021-09-24 at 9.08.09 PM.png

  • Replies 2
  • Views 663
  • Created
  • Last Reply
Posted

Add to Design > Custom CSS

/* Rotaing image on mobile */
@media screen and (max-width:640px) {
div#block-yui_3_17_2_1_1632530529120_31921 {
    width: 30%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -80px;
}
div#page-section-613d09d95f48cb52a4ff03d2 {
    padding-bottom: 100px;
}
}

 

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

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.