Jump to content

Re-order summary block items?

Go to solution Solved by tuanphan,

Recommended Posts

Hello,

Is it possible to re-order summary-box items using flex-direction (or similar)?

My 'News' layout (visible at the above link) is currently two columns, and I'd like to split it into three; so that the items run as per the attached image–col.1: date+article title, col:2 image, col 3: excerpt. And for this to be the default layout when pulling in content. It would be neat to be able to do this with one summary block, rather than multiple ones.

I can't seem to find and target the correct block to do this.

Any help here much appreciated—thank you in advance.

Screenshot 2023-10-20 at 16.17.23.jpg

Edited by Colourformat
Forgot to add URL
Link to comment
  • Replies 4
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

First, increase Summary Block width

Next, use this CSS code

@media screen and (min-width:768px) {
.summary-content.sqs-gallery-meta-container {
    display: flex;
    align-items: center;
}

.summary-metadata-container.summary-metadata-container--above-title {
    display: none !important;
}

.summary-excerpt.summary-excerpt-only {
    position: absolute;
    right: 0;
}
}

 

when you increase width, excerpt will float on right of screenshotimage.thumb.png.ce1fa924bd61eb12d9680425764ec732.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!)

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.