The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Background image
How do i stop the background image from repeating?
Basicly i want the background image to stay still when i scroll down the forums. Thanks in advance for your help |
#2
|
|||
|
|||
I would really like to know this too, if anyone have a clue please tell us
|
#3
|
||||
|
||||
do you mean from Repeating or just STATIC , as in ............ ALWAYS There? there are a couple of ways..
example : first you create a body class.... Code:
body#mybg { background-attachment:fixed; background-position:center top; (((( here you specify where you want your bg , center , left , right etc..)))) } Code:
<body style="background-image: url(pathtoyourimg/img.jpg);" id="mybg"> |
#4
|
||||
|
||||
Thanks i will try this when i get home from work cheers
|
#5
|
||||
|
||||
first question is where do i create this body class?
|
#6
|
|||
|
|||
Go to AdminCP > Styles & Templates > All Style Options
Near the bottom, there is a section titled "Additional CSS Definitions" You can add any CSS to this area. Hope this helps. |
#7
|
|||
|
|||
Quote:
Open your css of your style and scroll to where you see "Body (Customized in this Style)" it will be the first box that you see for the css definitions. Now in the box that says "Extra CSS Attributes" place the background code you want to use like this: Code:
background-image: url(images/background.jpg); background-attachment:fixed; Code:
background-image: url(http://www.yoursite.com/images/background.jpg); background-attachment:fixed; |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|