How to shorten and center a V2 line

hi
On the V2 Line element, i see how to adjust width and max width, however when i do this, it is pushed to the left side. I wish for it to be centered.
For the line elemenet, I don’t see any justification / formatting options for centered, right, etc. … and the ones for the column don’t seem to impact the line’s placement. How can center horizontally?

THANKS

Hello @flashfog,

Thanks for asking. :slight_smile:

Please add following CSS under Line Element > Customize > Setup > Element CSS and then save the changes.

$el{margin: 0 auto;}

Here’s a screencast that you can take a look.

To learn about margin property, please take a look at following resource.

http://learnlayout.com/margin-auto.html

Thanks.

thank you!!

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.