The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Background problem
Hi there,
I have a question/problem and i hope there is someone that can help me. I am busy with a christmas theme on my forum, however i want to change the background of it. Now it is white, but i want to have it black so it is a darker theme!! Ik have looked everywhere( but not 100% apparently) and can't find where to ajust this. I will put a picture below, i have pointed teh background i want to change with red arrows. Ik hop someone can and will help me. Greetings. PS sorry for my bad english |
#2
|
||||
|
||||
In your StyleVars, look in the "Global" group for:
doc_background body_background |
#3
|
|||
|
|||
Thanks for your reaction.
I found them, however it says this: additional.css .body_wrapper { background: {vb:stylevar body_background}; } Vbulletin.css html { background:{vb:stylevar doc_background}; <vb:if condition="$stylevar['textdirection'] == 'rtl'"> /* VBIV-11882 */ overflow-x: hidden; </vb:if> But how do i change the color of the background? |
#4
|
||||
|
||||
Change the value of the StyleVars, not your CSS templates.
Follow: AdminCP -> Styles & Templates -> Style Manager Then look at the style you wish to change, and with "Style Variable Editor" selected, click "Go" and then scroll down to the "Global" group and you will find the two StyelVars I mentioned. Click on them and you can edit them to contain the colors you want. |
#5
|
|||
|
|||
I did that the first time before i asked the question here
Did it again after your reply, however it stays white. |
#6
|
||||
|
||||
Perhaps you have CSS elsewhere overriding the StyleVars.
|
#7
|
|||
|
|||
Any idea where to look for them?
it's this theme : https://vborg.vbsupport.ru/showthread.php?t=291609 |
#8
|
||||
|
||||
As a quick fix, you can add something like this to your "additional.css" template for that style:
HTML Code:
html { background: #00A000 !important; } .body_wrapper { background: #A00000 !important; } |
#9
|
|||
|
|||
That didn't work either I also tried ti remove this .body_wrapper { background: {vb:stylevar body_background}; } from the additional.css but also dit not work.... |
#10
|
|||
|
|||
should work....be sure to clear your browser cache before checking and if you want to test an additional code try adding an !important before the ;
at least that can show you if there is another code conflicting you need to remove but stylevars is going to be the best place for the change... triple check everything obvious....make sure you are editing the right style etc....markfl's solutions totally should work... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|