Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Seamless drop shadow on bottom of center column (http://forum.bytesforall.com/showthread.php?t=18304)

86owen Sep 5, 2012 05:01 AM

[SOLVED] Seamless drop shadow on bottom of center column
 
Hello

I am working on a site here, http://umfs.gagnavist.is. Iīm trying to have a drop shadow on the center column but as you can see there is a space between the sidebars and the center column that I donīt want.

Is it possible to change this so that the space can not be seen.

I have these CSS setting on the Center column, left and right sidebar

Center:
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);

Left sidebar:
padding: 10px 5px 0 0;
background: #transparent;
-webkit-box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);
box-shadow: -6px 8px 5px rgba(50, 50, 50, 0.75);

Right sidebar:
padding: 10px 0px 0px 5px;
background: #transparent;
-webkit-box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);
box-shadow: 6px 8px 5px rgba(50, 50, 50, 0.75);

juggledad Sep 5, 2012 05:56 AM

try applying it to #bodyrow

86owen Sep 5, 2012 06:49 AM

Set this style to the bodyrow ?

Center:
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);

I have tried setting a style to this ID but to no avail.

juggledad Sep 5, 2012 06:54 AM

So you put it in the CSS inserts option and used '#bodyrow' as the selector?

86owen Sep 5, 2012 06:55 AM

Yes, like this

#bodyrow {
background: #FFFFFF;
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
}

juggledad Sep 5, 2012 07:13 AM

take out the code for the middle and right - you'll probably have to fiddle with the code for the left - take it out at first so you can see what the bodyrow code does

86owen Sep 5, 2012 10:10 AM

Ok, I have removed the style from the sidebars and center column but there is no bottom shadow on the bodyrow...

lmilesw Sep 5, 2012 11:10 AM

I see a drop shadow.

juggledad Sep 5, 2012 12:44 PM

Try using 'background-color' if you are only using that one parameter

86owen Sep 6, 2012 02:15 AM

Can you explain further juggledad ?

juggledad Sep 6, 2012 04:12 AM

When you use the CSS rule 'background' that is the shorthand for all the background rules (background-repeat, background-color, background-image etc) but you only have one of the parameters. That can effect some browsers, so use background-color if you are only going to use that option.

86owen Sep 6, 2012 04:25 AM

Ok, now the style for bodyrow is like this but no shadow still

#bodyrow {
background-color: #FFFFFF;
-webkit-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
box-shadow: 1px 10px 5px rgba(50, 50, 50, 0.75);
}

juggledad Sep 6, 2012 05:56 AM

ah looks like a browser issue, the shadow shows in FireFox but not Safari

86owen Sep 6, 2012 05:58 AM

It does not show in Chrome either... and not IE9

Any chance this can be fixed ?

juggledad Sep 6, 2012 09:48 AM

Well, you could write to Apple and M/S asn ask them to correct it :p
seripusly, you'll need to search the internet for solutions, try Googling 'box shadow table row safari'

86owen Sep 7, 2012 03:15 AM

This did the trick

#bodyrow {
background-color: #FFFFFF;
-webkit-box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
-moz-box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
box-shadow: 0px 10px 5px rgba(50, 50, 50, 0.40);
display: block;
width: 978px;
}

Adding display:block and setting the correct width.

Thanks for your help juggledad


All times are GMT -6. The time now is 09:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.