View Full Version : How can I make the header and body into one like vbulletin.org?
Juggernaut
05-25-2011, 04:21 AM
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-26-2011, 11:47 PM
Anybody has any ideas on this?
Lynne
05-27-2011, 12: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, 12:47 AM
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, 01: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:
.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, 01: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, 02:04 PM
It looks to me like you fixed it.
Juggernaut
05-27-2011, 11:18 PM
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, 01:14 AM
Well, if it works, then it works. :)
Juggernaut
05-28-2011, 01:19 AM
Thank you Lynne. I really apreciate you taking the time to help. :D
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.