# Title Bar Manipulation

**URL:** <https://discourse.nodered.org/t/title-bar-manipulation/52951>\
**Category:** Dashboard\
**Created:** [29 October 2021 19:15 UTC](https://discourse.nodered.org/t/title-bar-manipulation/52951 "2021-10-29T19:15:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgreenmt](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@jgreenmt](https://discourse.nodered.org/u/jgreenmt)\
**Post date:** [29 October 2021 19:15 UTC](https://discourse.nodered.org/t/title-bar-manipulation/52951/1 "2021-10-29T19:15:09Z")

</div>

Hello,

I am using the following code inside a template node to add a logo to the title bar. The image is displaying fine, but I have a couple of questions.

```auto
<style>
    .md-toolbar-tools{
        background-image: url("/jci_logo.png");
        background-repeat: no-repeat;
        margin-left: 0;
        background-size: contain; /*100px 44px;*/
        background-position: right;
    }
    .md-toolbar-tools h1{
        text-align: left;
        width: 250px;
    }
</style>

```

1. Is there anywhere I can find a list of the parameters for the titlebar?

2. I want the text to be slightly smaller than "contain" because my logo has no padding, so the image text buts up against the bottom edge of the title bar. But when I use a % setting the logo is so small it is unreadable if the window is re-sized. If I use a fixed size then the logo is too small when the window is fullscreen, and too big when the window is re-sized to small. Is there an option to add padding, or something like "contain+30px" or something?

3. If I use `background-position: right;` then the text is in the general location I want it, but once again some padding or margins would be nice. The title that is in the titlebar on the left side has padding as the text doesn't butt up against the far left side of the bar. However, if I use a fixed location then if the window is re-sized it is no longer viewable.

Could someone point me in the right direction?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [29 October 2021 21:30 UTC](https://discourse.nodered.org/t/title-bar-manipulation/52951/2 "2021-10-29T21:30:42Z")

</div>

Maybe this is relevant?  
[custom-div-banner-above-the-editor](https://discourse.nodered.org/t/custom-div-banner-above-the-editor/52284)

Or maybe not, I think md-toolbar is only on the dashboard?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [28 November 2021 21:30 UTC](https://discourse.nodered.org/t/title-bar-manipulation/52951/3 "2021-11-28T21:30:56Z")

</div>

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