# Изображение не заполняет контейнер заголовка

**URL:** <https://meta.discourse.org/t/image-not-filling-header-container/146484>\
**Category:** Product Support\
**Created:** [01.Апрель.2020 20:23:31 UTC](https://meta.discourse.org/t/image-not-filling-header-container/146484 "2020-04-01T20:23:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [01.Апрель.2020 21:44:43 UTC](https://meta.discourse.org/t/image-not-filling-header-container/146484/5 "2020-04-01T21:44:43Z")

</div>

Чтобы добиться нужного эффекта, возможно, стоит использовать CSS.  
Пример:

```css
.d-header .contents {
    background: linear-gradient(to bottom, rgba(36,66,183,0) 0%,rgba(36,66,183,1) 40%,rgba(36,66,183,1) 60%,rgba(36,66,183,0) 100%);
}

```

![image](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/3X/3/e/3e482515bb7a98d913bae830362ee0f5840c4e09_2_690x54.png)

---

_[View the full topic](https://meta.discourse.org/t/image-not-filling-header-container/146484)._
