vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to Div entire forum? (https://vborg.vbsupport.ru/showthread.php?t=230544)

masonox 12-19-2009 01:34 PM

How to Div entire forum?
 
Hello,

Can anyone tell me how to encase the entire forum in a Div tag? No matter where I put it, in the header, in forum home, in forum display, even in footer, I can not get below the body element. I have seen it done with vb4.0 but I can't find what template to put it in to do it. I am trying to get down to the entire page background level and encase the background in a div tag, so I can layer other backgrounds on top of it with div tags. But no matter what I do "if it shows up" it ends up in the body and goes inside the forum blocks.

help? and thanks.

consolegaming 12-19-2009 01:40 PM

at the start of header and at the end of footer. Worked fine for me. You'd have to set the bg of the body as the bg of the container div instead but that worked for me.

e.g. http://img191.imageshack.us/img191/6919/cgscreen.jpg

masonox 12-19-2009 01:56 PM

Hmm, I must still be missing something...the div is being highlighted "in firebug" as the forum only, not the entire page behind it :(

Seven Skins 12-19-2009 02:40 PM

Add opening div tag to the top of header template and closing div tag to the bottom of footer template.

.

masonox 12-19-2009 03:20 PM

its not working for me on default, but i will play with it, perhaps i have to delete a lot of things out of the default header. ty for replies.

Seven Skins 12-19-2009 03:24 PM

It works bro,

I tested it before posting. This is the code I used ... You will see red border around your forums.

Top of Header:
Code:

<div style="border: 3px solid #FF0000">
Bottom of Footer
Code:

</div>
.

masonox 12-19-2009 04:04 PM

1 Attachment(s)
that part works, but I am trying to get behind that, to where the background for the entire page would be......where the blue x's are on the screen shot. I want to put a div background behind the forums, and then layer a 2nd one on top of it behind the forums as well.

ie... a repeating star background, then an image of a nebula on top of it that doesn't repeat, then the actual forum body. But, to do this I need to get behind the forum elements. Hope that makes sense.

thank you for helping me though :)

Seven Skins 12-19-2009 04:38 PM

Have you tried doc_background ... user stars background in this stylevar.

add this to background image of the above stylevar url(images/misc/star.png) and use the div for the nebula background.

masonox 12-19-2009 05:06 PM

Yes that does work, on my test forums i have the stylevar as the stars, but anything else i do to try put in that nebula in puts in in the forum background instead of being on the same "playing field" the stars are on. Its hard to explain, i want to do everything on the same level as doc_background. I can't find where the doc_background is being called in the templates. I see it defined in the vbulletin.css but where it is being applied so i can see if i can div around it in the actual display templates i can't find. Anything I do, deals with the forum element itself.. like the white background on this page. If I use these forums as an example. The color blue would be my stars, but any time I try to find a place to put in the nebula it goes into the "white" area of these forums. Which is not what I want as it extends beyond the bordes and is more free flowing and blended than the very harsh constrained "white" areas of this forum.

I am no longer going to use this current design as I have to change some of the graphics and then redesign the header for vb4.0 but you can see more of what I am talking about with the stars then nebula then forums idea that I am referring too. Also, I think I am also going to have to work on the base background level with the footer too :( http://www.darkbargainers.com/tst/tstconcept.png

Seven Skins 12-19-2009 06:45 PM

This may help you.
https://vborg.vbsupport.ru/showthrea...light=Body+tag

.


All times are GMT. The time now is 10:26 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.01109 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete