vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Changing .page background (https://vborg.vbsupport.ru/showthread.php?t=234425)

Feanor_87 01-28-2010 11:20 PM

Changing .page background
 
Hey, I'm customizing a page on my forum and I was hoping I could get some help. I've managed to change the background for a single forum (Like Showgroups for example) using

<body style="background: #1d2e40 ">

How would I go about changing the background page? I tried changing "background" to ".page" but that didn't work, so I'm guessing I'm going at it the wrong way.

Which tags do I need in order to change the page background?

Digital Jedi 01-29-2010 06:13 AM

.page is a CSS class. You wouldn't replace an HTML tag with a CSS class name. Are you trying to change individual sections to different colors for some reason? Because the background to your forum can be changed globally, and very easily, from the Style Manager's Main CSS options.

Feanor_87 01-29-2010 08:00 PM

Yeah, individual sections into different colors. I managed to do the background with the code above, but I can't do it for the page background.

Digital Jedi 01-30-2010 06:33 PM

That's because the whole forum uses one CSS class for all backgrounds. You'd need to somehow remove that class from all you pages before you could define a new one per page. You can probably do that by blanking out on the fields for .page in your CSS options.


All times are GMT. The time now is 11:09 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.01074 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete