# CSS для увеличения высоты логотипа и заголовка в десктопном и мобильном видах

**URL:** <https://meta.discourse.org/t/css-to-increase-height-of-logo-and-header-in-dektop-mobile-view/293064>\
**Category:** Development\
**Tags:** css\
**Created:** [26.Январь.2024 15:42:16 UTC](https://meta.discourse.org/t/css-to-increase-height-of-logo-and-header-in-dektop-mobile-view/293064 "2024-01-26T15:42:16Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![selfaware](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@selfaware](https://meta.discourse.org/u/selfaware)\
**Post date:** [29.Январь.2024 20:34:02 UTC](https://meta.discourse.org/t/css-to-increase-height-of-logo-and-header-in-dektop-mobile-view/293064/14 "2024-01-29T20:34:02Z")

</div>

Спасибо за вашу помощь:

Для тех, кто придет после меня и захочет увеличить размер логотипа как в десктопной, так и в мобильной версии:

1. Настроить → Темы → По умолчанию → Редактировать CSS/HTML

a) Вставьте в блок для десктопа:

```plaintext
.d-header {
  height: 5em;
}
.d-header #site-logo {
  height: 5em;
}

```

b) Вставьте в блок для мобильных устройств:

```plaintext
.d-header #site-logo {
  max-width: unset;
}
.d-header #site-logo {
  height: 4em;
}

```

---

_[View the full topic](https://meta.discourse.org/t/css-to-increase-height-of-logo-and-header-in-dektop-mobile-view/293064)._
