Jump to content

Center align line-block

Recommended Posts

Posted

Hello.

Is there a way to center-align a horizontal line instead of them being top-aligned? 

Also, is there a way to set the color of an individual horizontal line?

Thanks.

  • Replies 6
  • Views 1.9k
  • Created
  • Last Reply
Posted
5 hours ago, paulcristo said:

I was able to fake it by adjusting the line height of the text. I wasn't able to figure out how to align the Lines to a block of text though. Is there a way to do that? By default, a Line will align to the top of a text block.

Here's an example:

https://spinach-viola-en24.squarespace.com/test

pass: support

Can you take screenshot?

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
On 12/1/2019 at 7:21 PM, tuanphan said:

Can you take screenshot?

In the screenshot, you can see the Lines intersect at the top of the last block of text. I'd like it to intersect at the center if possible.

Screen Shot 2019-12-03 at 12.19.15 PM.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.