Skip to content

Закрепленный заголовок

Featured Replies

На вашем сайте используется липкий заголовок, который остается на месте при прокрутке страницы.

Подскажите пожалуйста, какой CSS-код нужно использовать, чтобы зафиксировать этот заголовок?

Solved by Kurt

  • Replies 1
  • Views 181
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Most Popular Posts

  • Приветствую! Код будет выглядеть следующим образом: .ipsHeader{ display: contents; } .ipsHeader__primary{ position: sticky; top: 0; z-index: 5; }

Most Helpful Posts

  • Приветствую! Код будет выглядеть следующим образом: .ipsHeader{ display: contents; } .ipsHeader__primary{ position: sticky; top: 0; z-index: 5; }

  • Solution
  • Community Expert

Приветствую!

Код будет выглядеть следующим образом:

.ipsHeader{
	display: contents;
}
.ipsHeader__primary{
	position: sticky;
	top: 0;
	z-index: 5;
}

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.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.

Messenger