Jump to content

Summary block layout changing on tablet landscape view

Recommended Posts

Posted

I have a summary block on my home page showing 4 blog post graphics in a single row - this looks fine on my computer.  On my ipad, in landscape view, the summary block automatically goes on to 2 rows, so there's a single graphic on row 2 which looks odd.  I just want the summary block items to stay on one row on tablet landscape view - how do I do that?  Or I'd be happy for just 3 post graphics to show up on the single row if that is easier, just not how it is now!  Thanks in advance.

  • Replies 5
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:991px) and (min-width:768px) and (orientation:landscape) {
div#block-9528921e749e29737938 {
.summary-item {
    width: 22.4678% !important;
    margin-bottom: 3.37621% !important;
    margin-right: 3.37621% !important;
}

.summary-item:last-child {
    margin-right: 0 !important;
    clear: none !important;
}
}}

image.png.2464f258c8b1505ef2645266273ddfa5.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!)

Posted
3 hours ago, tuanphan said:

Use this code to Website > Website Tools > Custom CSS

@media screen and (max-width:991px) and (min-width:768px) and (orientation:landscape) {
div#block-9528921e749e29737938 {
.summary-item {
    width: 22.4678% !important;
    margin-bottom: 3.37621% !important;
    margin-right: 3.37621% !important;
}

.summary-item:last-child {
    margin-right: 0 !important;
    clear: none !important;
}
}}

image.png.2464f258c8b1505ef2645266273ddfa5.png

Thanks so much but I've added the CSS and it's not working for me

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.