Jump to content

Фиксация header


 Share

Recommended Posts

Доброго времени. Подскажите,пожалуйста,как средствами движка зафиксировать шапку,т.е сделать фиксированной? Есть ли ips'овские классы для таких целей (в документации не нашел) ?

1447517917_2022-07-0421-45-52.thumb.png.b46e7522673ff24af6c89182a509feaa.png

Link to comment
Share on other sites
В 05.07.2022 в 02:31, Кирилл сказал:

Вариант,конечно,рабочий,НО..

Не могу понять почему он меняет background шапки

1451780712_2022-07-0817-46-43.png.f789496132bab0371426e27b67a07cd1.png

Как правильно зафиксировать шапку,которая в коде

            <header>
                <div class='ipsLayout_container'>
                    {template="logo" app="core" group="global" params=""}
                      {template="quickSearch" group="global" app="core" params="$preview"}

                    {{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}
                        {template="userBar" app="core" group="global" params=""}
                        {template="mobileNavigationIcon" app="core" group="global" params=""}
                    {{endif}}
                </div>
            </header>

Edited by Александр Христич
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using our site you agree to our Privacy Policy