Jump to content

Different layouts to display summary blocks on desktop and mobile views

Recommended Posts

Hi guys,

I'm trying to get the mobile view of a summary block to appear differently to the desktop view, for a blog site I'm working on.

In short, I want to display the summary block as a standard 'List' view on desktop, and as a standard 'Grid' view on mobile.

If I go with 'List', it's perfect for desktop, but on mobile, the thumbnail is very small. If I go with 'Grid', it's perfect on mobile, but the image is very large on desktop.

Is there some element of CSS you know of that will force the view depending on the device? - mobile is grid, desktop is list on attachments

Thanks in advance!

grid-mobile-small.png.a6a71d1736b7932e4cadf6d75384670d.png

list-desktop-small.png.eeb6c9c9c8518ae6ff3acd175faec444.png

Edited by inishmedia
Initial Revision
Link to comment
  • 1 year later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You should share site url, we can check easier.

You can also add 2 summary for desktop - mobile, then we will give the code to hide 1 on desktop, hide 1 on mobile

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.