# How to get borders in Kibana 5.x dashboards?

**URL:** <https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205>\
**Category:** Kibana\
**Created:** [September 29, 2017, 3:30am UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205 "2017-09-29T03:30:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajesh](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rajesh](https://discuss.elastic.co/u/rajesh)\
**Post date:** [September 29, 2017, 3:30am UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/1 "2017-09-29T03:30:17Z")

</div>

Hi,

Is there any way where I can put borders between dashboards in Kibana 5.x dashboards?

Thanks

---

<div class="post-metadata">

**Author:** ![immavalls](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/immavalls/32/146501_2.png) [@immavalls](https://discuss.elastic.co/u/immavalls)\
**Post date:** [September 29, 2017, 7:55am UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/2 "2017-09-29T07:55:31Z")

</div>

Take a look at [How to get border for each visualization in Kibana 5 like Kibana 4](https://discuss.elastic.co/t/how-to-get-border-for-each-visualization-in-kibana-5-like-kibana-4/98218)

---

<div class="post-metadata">

**Author:** ![rajesh](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rajesh](https://discuss.elastic.co/u/rajesh)\
**Post date:** [September 29, 2017, 4:08pm UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/3 "2017-09-29T16:08:58Z")

</div>

Hi Imma,

I added following snippet to the file /usr/share/kibana/optimize/bundles/kibana.style.css

```
   .panel {
      border: 1px solid green;
    }

```

It's working fine when the background theme is white but for dark theme when I changed to border: 1px solid white, it's not working.

---

<div class="post-metadata">

**Author:** ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)\
**Post date:** [September 29, 2017, 4:53pm UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/4 "2017-09-29T16:53:24Z")

</div>

There's a dark theme selector you'll need to apply as well. This might vary depending upon your version but is always something like `.theme-dark` on the selector you're looking to apply it to. You can usually find it with inspector (here I am manually applying a border to the class in insprector).

Here's an example

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/0/309800784e4880faf3f8a6caae05552e77837dab.png)

---

<div class="post-metadata">

**Author:** ![rajesh](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@rajesh](https://discuss.elastic.co/u/rajesh)\
**Post date:** [September 29, 2017, 8:21pm UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/5 "2017-09-29T20:21:12Z")

</div>

Thanks David. I edited it in the file /usr/share/kibana/optimize/bundles/commons.style.css. It is working now. 🙂

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 30, 2017, 5:45am UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/6 "2017-09-30T05:45:30Z")

</div>

I also raised [https://github.com/elastic/kibana/issues/14228](https://github.com/elastic/kibana/issues/14228) to see if we can expose this as a setting 🙂

---

<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:** [October 28, 2017, 5:45am UTC](https://discuss.elastic.co/t/how-to-get-borders-in-kibana-5-x-dashboards/102205/7 "2017-10-28T05:45:31Z")

</div>

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