# Ion-toolbar background-image Ionic 4

**URL:** <https://forum.ionicframework.com/t/ion-toolbar-background-image-ionic-4/135891>\
**Category:** ionic-v3\
**Created:** [July 22, 2018, 4:39pm UTC](https://forum.ionicframework.com/t/ion-toolbar-background-image-ionic-4/135891 "2018-07-22T16:39:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![reedrichards](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@reedrichards](https://forum.ionicframework.com/u/reedrichards)\
**Post date:** [July 22, 2018, 7:52pm UTC](https://forum.ionicframework.com/t/ion-toolbar-background-image-ionic-4/135891/2 "2018-07-22T19:52:39Z")

</div>

yep `.toolbar-background` doesn’t exist anymore I think in Ionic v4

because of shadow-root a lot of styling may change if you were, like me, relied on style classes

you will probably have to set a css4 variables to solve this, like

```
 ion-toolbar {
    --background: url('assets/images/myimage.jpg') no-repeat fixed center; 
 }

```

something like that

---

_[View the full topic](https://forum.ionicframework.com/t/ion-toolbar-background-image-ionic-4/135891)._
