Jump to content

Stack Image over Text in List Summary Block on Tablet

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hi all,

I've tried other solutions that were posted on this elsewhere, but they don't seem to work for me.  

I have a summary block on the homepage of my site that doesn't look great while viewing on a tablet - the text sits to the right of the image and becomes very narrow, extending the size of the entire block.  I'd much rather this display as it does in mobile, where the image sits comfortably on top of the text.  Is there a way to trigger this on tablet?  A screenshot of what it looks like on my iPad 10 is attached. 

Thanks!

IMG_61E07215D281-1.jpeg

  • Solution
Posted

Add this code to Website > Website Tools > Custom CSS > then save & reload the page

/* Tablet summary */
@media screen and (min-width:768px) and (max-width:1024px) {
div#block-c52af944a800cbb43140 .summary-item {
    flex-direction: column !important;
}
}

image.png.fb22a4e8f0e9a9d5f5b04cc780db7527.png

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

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.