Jump to content

Image card full width on mobile

Recommended Posts

Posted
On 2/18/2022 at 10:08 PM, dchavez said:

@tuanphan Do you have any ideas for this? thank you!

Add to Design > Custom CSS

/* Team 1 mobile image */
@media screen and (max-width:767px) {
body#collection-620bfe5b65861525a0483cf5 .image-block {
    width: 90% !important;
    margin: 0 auto;
}
}

 

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
On 2/22/2022 at 4:55 AM, dchavez said:

Thank you! @tuanphanworks perfectly, do you know how to reduce the height from that same 1 photo on mobile, It cant seem to reduce it

The url doesn't exist. Can you check it again?

https://thebrownlab.squarespace.com/team-1

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

  • 2 years later...
Posted (edited)

@tuanphan Hello! Is it possible to target just the image (not the text within the image card, this will remain 100% width), reducing the image overlay width to 75%? Thanks!

Edited by h0lsta

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.