Jump to content

7.1 List -- text to right of image instead of below

Go to solution Solved by Ziggy,

Recommended Posts

Hi forum!

Wondering if anyone knows how to take the text (title, description) and force it to the right. Similar to the image cardblock in 7.0

 

site: https://clover-cone-cdbz.squarespace.com/about

pw: LWD

 

You'll see I'm playing with several layouts for the "contributors" section. The client ideally wants the text to the the right of the image, but I don't want him to have to add blocks etc. since he's never used 7.1. 

 

Note: I sort of like how the summary block pulling from a blog page works [see v4] -- but only if there is a way to reverse the order. I played around with <flex-direction: row- reverse> but there doesn't seem to be a way to do it without javascript... and the client can't afford a business plan. In general lists seem more user friendly for the client to upkeep the site. 

 

Thank you!

Link to comment
  • Solution

You can try this Custom CSS:

@media only screen and (min-width:767px) {
section[data-section-id="64d40640bd49c26b55b6760e"] {
.user-items-list-simple .list-item {
    display: flex;
    flex-direction: row;
}
.list-item-content, .list-item-media {
  width:50% !important;
}
}
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
12 hours ago, Ziggy said:

You can try this Custom CSS:

@media only screen and (min-width:767px) {
section[data-section-id="64d40640bd49c26b55b6760e"] {
.user-items-list-simple .list-item {
    display: flex;
    flex-direction: row;
}
.list-item-content, .list-item-media {
  width:50% !important;
}
}
}

Thank you so much for this @Ziggy!! Worked great.

For anyone else, it showed like this at first: 
 Screenshot2023-08-10at2_47_43PM.thumb.png.4452e2aeaec04011b1d387bd9412f955.png

 

So I played around with the code and got it to look like this: 

Screenshot2023-08-10at3_27_38PM.thumb.png.29ba62f1bdf93eeaaa075d01e5472677.png

 

The code I ended up using was: 

@media only screen and (min-width:767px) {

section[data-section-id="64d40640bd49c26b55b6760e"] {
.user-items-list-simple .list-item {
display: flex; flex-direction: row;
}

.list-item-media {
width:30% !important; margin-left: 0px !important;
}

.list-item-content {
width:65% !important;
}

}

}

Edited by LaurenZA
updated info
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.