Jump to content
View in the app

A better way to browse. Learn more.

IPBMafia.ru - поддержка Invision Community, релизы, темы, плагины и приложения

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Прозрачное меню

Featured Replies

Posted

Подскажите пожалуйста как можно сделать верхнюю часть сайта прозрачной что бы было видно фон сайта?DXrH9gas9Rs.thumb.jpg.4aad31851e5ecfb320888ce5bbf18807.jpg

 

Мне нужно просто убрать цвет менюшек что бы они стали прозрачными. Когда ставлю на бэкграунд фон, хеадер перекрывает его и фон видно не полностью.

Все делается на дефолтной теме. Сторонние стили не хочу качать где есть такая тема.

Подскажите что нужно писать в custom.css что бы сделать прозрачность.

  • Author

Стало так теперь

Спойлер

image.thumb.png.7c8a2cc2f7c50c124d098bcfe90fcea8.png

Код в custom.css

Спойлер
#video-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    background: url() no-repeat #000000;
    background-size: cover;
}

#video-bg > video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto; 
}

 

Код на странице

Спойлер
<div id="video-bg">
<video width="100%" height="auto" preload="auto" poster="" autoplay loop muted>
<source src="https://files.mwoff.com/videobglol/4.webm">
   Тег video не поддерживается вашим браузером. 
  </video>
</div>

 

В чем может быть проблема?

  • Author
1 минуту назад, by_ix сказал:

так а где это?

Все в кастоме прописано, просто не скопировал его

Спойлер
#video-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    background: url() no-repeat #000000;
    background-size: cover;
}

#video-bg > video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto;
    height: auto; 
}

#ipsLayout_header {
  background-color: rgba(0, 0, 0, 0);
}

 

 

  • Author
2 минуты назад, by_ix сказал:

MikeWolf ответ выше.

Благодарю, сработало!

Теперь дополнительный вопрос. Как сделать прозрачным подменю, что бы не показывалась белая полоса?

Спойлер

image.thumb.png.58ac544ec403d7569a64358e4a8f9d3b.png

 

  • Author
2 минуты назад, by_ix сказал:

MikeWolf 

#ipsLayout_header nav {
    background: rgba(0, 0, 0, 0);
}
.ipsNavBar_primary:not( .ipsNavBar_noSubBars ) > ul:before {
    background: rgba(0, 0, 0, 0);
}
.ipsNavBar_secondary {
    background: rgba(0, 0, 0, 0);
}

 

Большое спасибо. Все работает👍

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
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.

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.