Hundmann Posted May 26, 2017 Report Share Posted May 26, 2017 Пожалуйста помогите с функцией. Не пойму как прописать функцию, чтобы панель тянулась по ширине монитора? Вот пример того, что я хочу: Quote Link to comment Share on other sites More sharing options...
Silence Posted May 26, 2017 Report Share Posted May 26, 2017 Настройки стиля Quote Link to comment Share on other sites More sharing options...
WOLF Posted May 26, 2017 Report Share Posted May 26, 2017 ссылку на форум верную укажите Quote Link to comment Share on other sites More sharing options...
Hundmann Posted May 26, 2017 Author Report Share Posted May 26, 2017 3 минуты назад, WOLF сказал: ссылку на форум верную укажите Вот ссылка на мой https://forum.spzabt507.ru Вот ссылка на тот, у которого увидел https://forum.warthunder.ru/index.php 5 минут назад, Silence сказал: Настройки стиля Это было включено Quote Link to comment Share on other sites More sharing options...
Silence Posted May 26, 2017 Report Share Posted May 26, 2017 Только что, Hundmann сказал: Вот ссылка на мой https://forum.spzabt507.ru Вот ссылка на тот, у которого увидел https://forum.warthunder.ru/index.php 6 минут назад, Silence сказал: Настройки стиля в custom.css изменит : .ipsLayout_container { max-width: 1340px; padding: 0 15px; } на .ipsLayout_container { max-width: 100%; padding: 0 15px; } Quote Link to comment Share on other sites More sharing options...
Hundmann Posted May 26, 2017 Author Report Share Posted May 26, 2017 22 минуты назад, Silence сказал: в custom.css изменит : .ipsLayout_container { max-width: 1340px; padding: 0 15px; } на .ipsLayout_container { max-width: 100%; padding: 0 15px; } Это не то. Я хочу полосу как на скрине. Quote Link to comment Share on other sites More sharing options...
Sipsb Posted May 26, 2017 Report Share Posted May 26, 2017 31 минуту назад, Silence сказал: Вот ссылка на тот, у которого увидел https://forum.warthunder.ru/index.php Если как тут, тогда в globalTemplate добавить после </header> <div class="navBar-bg"> </div> Затем в Custom.css .navBar-bg { background: linear-gradient(to bottom, #1b2529 0%, #243236 100%); position: absolute; display: block; width: 100%; left: 0; height: 53px; } Hundmann 1 Quote Link to comment Share on other sites More sharing options...
Hundmann Posted May 26, 2017 Author Report Share Posted May 26, 2017 Если на этом форуме ( https://forum.warthunder.ru) отдалять (ctrl -) то можно увидеть как полоса с навбара тянется на весь экран. Quote Link to comment Share on other sites More sharing options...
WOLF Posted May 26, 2017 Report Share Posted May 26, 2017 Quote Link to comment Share on other sites More sharing options...
Hundmann Posted May 26, 2017 Author Report Share Posted May 26, 2017 2 минуты назад, Sipsb сказал: Если как тут, тогда в globalTemplate добавить после </header> <div class="navBar-bg"> </div> Затем в Custom.css .navBar-bg { background: linear-gradient(to bottom, #1b2529 0%, #243236 100%); position: absolute; display: block; width: 100%; left: 0; height: 50px; } Спасибо! Это то, что нужно было. 1 минуту назад, WOLF сказал: Я не знаю почему у вас не работает Quote Link to comment Share on other sites More sharing options...
Sipsb Posted May 26, 2017 Report Share Posted May 26, 2017 4 минуты назад, Hundmann сказал: Спасибо! Это то, что нужно было. Custom.css Измените на это! background: rgba(32, 32, 32, 1); position: absolute; display: block; width: 100%; left: 0; height: 53px; border-bottom: 5px solid #c1361f; Hundmann 1 Quote Link to comment Share on other sites More sharing options...
Hundmann Posted May 26, 2017 Author Report Share Posted May 26, 2017 3 минуты назад, Sipsb сказал: Custom.css Измените на это! background: rgba(32, 32, 32, 1); position: absolute; display: block; width: 100%; left: 0; height: 53px; border-bottom: 5px solid #c1361f; Спасибо, тут я уже сам додумался и сделал Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.