Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 03 Dec 2018, 12:17
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Question 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

Reply With Quote
  #2  
Old 03 Dec 2018, 18:30
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
In your StyleVars, look in the "Global" group for:

doc_background
body_background
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #3  
Old 04 Dec 2018, 06:04
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
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?
Reply With Quote
  #4  
Old 04 Dec 2018, 07:40
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
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.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #5  
Old 04 Dec 2018, 10:34
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
I did that the first time before i asked the question here

Did it again after your reply, however it stays white.
Reply With Quote
  #6  
Old 04 Dec 2018, 16:51
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Perhaps you have CSS elsewhere overriding the StyleVars.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #7  
Old 05 Dec 2018, 05:40
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Any idea where to look for them?

it's this theme :

https://www.vbulletin.org/forum/showthread.php?t=291609

Last edited by mp3president; 05 Dec 2018 at 05:52.
Reply With Quote
  #8  
Old 05 Dec 2018, 06:24
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
As a quick fix, you can add something like this to your "additional.css" template for that style:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And change the colors to suit your desire.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #9  
Old 05 Dec 2018, 10:37
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron


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....
Reply With Quote
  #10  
Old 07 Dec 2018, 11:46
IggyP IggyP is offline
 
Join Date: May 2012
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...
Reply With Quote
  #11  
Old 07 Dec 2018, 14:41
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
Tried all what you have said.

cleared cache, other browsers... nothing works.

This is my additional.css at the moment, but still stays white!:

body, html {
width:100% !important;
min-width:100% !important;
max-width:100% !important;
}
.body_wrapper {
background: {vb:stylevar body_background};
}
.site_width {
min-width: {vb:stylevar doc_minWidth};
max-width: {vb:stylevar doc_maxWidth};
width: {vb:stylevar doc_width};
margin:0 auto;
}
html {
background: #00A000 !important;
}

.body_wrapper {
background: #A00000 !important;
}


Hope you guys can help me, bin busy with it now for a couple of days.....
Reply With Quote
  #12  
Old 07 Dec 2018, 16:44
snakes1100 snakes1100 is online now
 
Join Date: Dec 2001
Real name: Anthony
Why dont u share ur site so we can actually look at it
Reply With Quote
  #13  
Old 07 Dec 2018, 17:32
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Originally Posted by IggyP View Post
....make sure you are editing the right style etc....
This is the only thing I can think of that could be the issue.
__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
  #14  
Old 08 Dec 2018, 05:29
mp3president mp3president is offline
 
Join Date: Sep 2009
Real name: Ron
The site is www.pirates4all.com

And i am trying to change in the right style "kerst".

I don't know what, but something is overriding the css.
Reply With Quote
  #15  
Old 08 Dec 2018, 06:10
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Real name: Mark
Try this in your "additional.css" template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member



Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum Home Enhancements Category Background on FORUMHOME . put a Background for every forum . merkaz vBulletin 3.8 Template Modifications 8 18 Mar 2013 07:21



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:13.

Layout Options | Width: Wide Color: