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 can I make the header and body into one like vbulletin.org? (https://vborg.vbsupport.ru/showthread.php?t=264168)

Juggernaut 05-25-2011 05:21 AM

How can I make the header and body into one like vbulletin.org?
 
I currently have vb 4.1.3 running on my site, and I've gotten rid of the spaces between the header and the forum body, however when I add block shadows to my site, it doesn't look just right, as I have two shadows at the same time, one for the header and one for the body wrapper, and the shadows look darker where they meet, is there any way to make the forum body and header into one piece, so that it can all be modified as one? :confused:

Juggernaut 05-27-2011 12:47 AM

Anybody has any ideas on this?

Lynne 05-27-2011 01:33 AM

Comparing a 4.x site to a 3.6 layout is almost like comparing apples and oranges - totally different style.

A link to see what you have and an image to show what you want would help.

Juggernaut 05-27-2011 01:47 AM

1 Attachment(s)
This is the link to my site. http://www.cuscatlekos.com/foro.php
And I would like to use only one shadow for the whole page, as it is, there are two shadows, one for the header, and one for the body wrapper, the shadow is darker where they meet, right around the navbar. Here is an image to illustrate.

Lynne 05-27-2011 02:13 AM

I think your darker shadow where the header and body meet is because the two shadows 'add' together due to your box-shadow properties:
Code:

.above_body {
    background: -moz-linear-gradient(center top , rgba(50, 50, 50, 0.3) 0%, rgba(50, 50, 50, 0) 25%) repeat scroll 0 0 #004380 !important;


}

main-r...6460435 (line 1)

.above_body {
    box-shadow: 0 0 3px 5px rgba(0, 0, 0, 0.3);
}
and
.body_wrapper {
    box-shadow: 0 0 3px 5px rgba(0, 0, 0, 0.3);

http://www.css3.info/preview/box-shadow/

Juggernaut 05-27-2011 02:23 AM

Is there a way around this cosmetic error? or should I just get rid of the shadows? I tried using .above_body, body_wrapper together in additional css, but it didn't fix the issue, I still ended up with two shadows. Is there a way to include the header in the body wrapper or just abandon the shadows?

Lynne 05-27-2011 03:04 PM

It looks to me like you fixed it.

Juggernaut 05-28-2011 12:18 AM

Not really fixed, I'm just hiding the area where the shadows meet, but I'm still using two box shadows, just had to play with the shadows to get a result that didn't show the shadows to much. :)

Lynne 05-28-2011 02:14 AM

Well, if it works, then it works. :)

Juggernaut 05-28-2011 02:19 AM

Thank you Lynne. I really apreciate you taking the time to help. :D


All times are GMT. The time now is 12:14 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.01085 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete