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

Ребята на помощь

не могу установить на фон картинку

прописываю background: #000000 url(public/style_images/prorock/bk.png) top left no-repeat;

а фон стает черным

Как решить подобную проблему?

  • Author

там где {style_images_url} ничего не надо вставлять? или после {style_images_url} ничего ?просо сменить название файла?

  • Author

вот смотрите

у меня данный путь к картинке

public/style_images/prorock/main_bg.jpg

прописывать я так понял так

background: black url({style_images_url}/prorock/main_bg.jpg) 50% 0 no-repeat;

  • Author

нет не работает

почему то прописую путь к этой картинке в адресной строке пишет ошибка 404

  • Author

не знаю что у меня не правильно но не работает


html, body { /* Safari has trouble with bgcolor on body. Apply to html tag too. */

background: #323232 url({style_images_url}/bg.png ) repeat-x bottom;

}

body {

font: normal 13px helvetica, arial, sans-serif;

position: relative;

}

это у меня в ксс

а сама картинка лежит по пути public/style_images/prorock

  • Author

/************************************************************************/

/* CORE ELEMENT STYLES */

html, body { /* Safari has trouble with bgcolor on body. Apply to html tag too. */

}

body {

background: #323232 url({style_images_url}/bg.png ) repeat-x bottom;

font: normal 13px helvetica, arial, sans-serif;

position: relative;

}

Так?

Ссылку в ПМ на форум. и на что менять собрался.

Укажу и распишу что и как сделать.

Обычно вот так

}
body {
background: url({style_images_url}/bg.png ) repeat-x bottom;
font: normal 13px helvetica, arial, sans-serif;
position: relative;
color: #323232;
}
Т.е у тебя ошибка шла в указании сначала цвета фона, а потом картинка. Картинка накладывается ниже фона. В моем варианте у тебя будет на первом плане картинка, а дальше пошел цвет фона. Либо добавляешь отдельный стиль картинки:
background-image: url({style_images_url}/bg.png ) repeat-x bottom;[/code]

масло масленое :D

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.