# How to align 2 lines of text in visual builder markdown

**URL:** https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615
**Category:** Kibana
**Created:** [October 30, 2018, 10:24am UTC](https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615 "2018-10-30T10:24:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Susmitha\_Devathi](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Susmitha\_Devathi](https://discuss.elastic.co/u/Susmitha_Devathi)
#### Post date: [October 30, 2018, 10:24am UTC](https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615/1 "2018-10-30T10:24:33Z")

</div>

Hi Team,

I want to align 1 line of text in visual builder markdown to left and 2nd line to center.

 ![markdown%20alignment](https://us1.discourse-cdn.com/elastic/original/3X/6/e/6e68a33abfb1a6eed578cc006e3c984174e849d1.jpeg)

As shown in the image ,i want 1st line to be aligned to left and 2nd alignment to center.  
Could you please let me know the CSS script to align two lines in visual builder markdown.

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [October 30, 2018, 4:35pm UTC](https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615/2 "2018-10-30T16:35:24Z")

</div>

Hey @Susmitha_Devathi, it really depends on the HTML that is being generated for how you'll left/center align them. Can you share your Markdown itself?

---

<div class="post-metadata">

### Author: ![Susmitha\_Devathi](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@Susmitha\_Devathi](https://discuss.elastic.co/u/Susmitha_Devathi)
#### Post date: [October 31, 2018, 2:44am UTC](https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615/3 "2018-10-31T02:44:16Z")

</div>

![markdown](https://us1.discourse-cdn.com/elastic/original/3X/b/c/bc0d8879fbee286b44902475b644c705d09f5790.jpeg) ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/2/2/222b220672fde1a5def19f294af447c8aeb39cc2.jpeg)  
Could please let me know the script to align first line to left side and second line to center.

Regards,  
D. Susmitha

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 28, 2018, 2:44am UTC](https://discuss.elastic.co/t/how-to-align-2-lines-of-text-in-visual-builder-markdown/154615/4 "2018-11-28T02:44:20Z")

</div>

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