Jump to content

centering text on summary list block

Recommended Posts

Site URL: https://theindieauthorcollective.com/sample-books/booktitle-c5b5r-k82hy-ethha-4tw2z

Okay, I've been struggling with this and I'm sure someone has a quick solution for this. I want to use a simple summary block at the bottom of a book listing to add the book author's bio. I have title, excerpt, and image enabled. I'd like to vertically center the text on the image, rather than having the text all at the top. I'd also like to increase the padding between the image and the text. Screenshot attached, and I've linked to an example page I'm using as a mockup. Website password is "forumhelp."

Screen Shot 2022-05-21 at 9.44.41 PM.png

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

7 hours ago, JenTerpstra said:

Site URL: https://theindieauthorcollective.com/sample-books/booktitle-c5b5r-k82hy-ethha-4tw2z

Okay, I've been struggling with this and I'm sure someone has a quick solution for this. I want to use a simple summary block at the bottom of a book listing to add the book author's bio. I have title, excerpt, and image enabled. I'd like to vertically center the text on the image, rather than having the text all at the top. I'd also like to increase the padding between the image and the text. Screenshot attached, and I've linked to an example page I'm using as a mockup. Website password is "forumhelp."

Screen Shot 2022-05-21 at 9.44.41 PM.png

Do you mean something like this?

image.thumb.png.ca26e4b8d0874d4656b73c7855c32c0a.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

You can try the following code

#block-yui_3_17_2_1_1653186471018_6907 .summary-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 73% !important; /*space between image and content, decrease % to increase the space and vice versa*/
}

#block-yui_3_17_2_1_1653186471018_6907 .summary-item {
  display: flex;
  justify-content: space-between;
}
#block-yui_3_17_2_1_1653186471018_6907 .summary-item:after {
  content: unset;
}

Let me know how it goes

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.2d15e476a267346f8efe1bfa7194684a.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.