Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2018, 10:17 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 12-03-2018, 04:30 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In your StyleVars, look in the "Global" group for:

doc_background
body_background
Reply With Quote
  #3  
Old 12-04-2018, 04:04 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 12-04-2018, 05:40 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 12-04-2018, 08:34 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 12-04-2018, 02:51 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps you have CSS elsewhere overriding the StyleVars.
Reply With Quote
  #7  
Old 12-05-2018, 03:40 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea where to look for them?

it's this theme :

https://vborg.vbsupport.ru/showthread.php?t=291609
Reply With Quote
  #8  
Old 12-05-2018, 04:24 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
And change the colors to suit your desire.
Reply With Quote
  #9  
Old 12-05-2018, 08:37 AM
mp3president mp3president is offline
 
Join Date: Sep 2009
Location: Netherlands
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



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 12-07-2018, 09:46 AM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply


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

Forum Jump


All times are GMT. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04154 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete