Child's drop shadow on wrapper ignored

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Child's drop shadow on wrapper ignored

Postby Kelly » 14 Jun 2012, 08:18

RE: Suffusion – 4.2.2 and WordPress 3.4

Hello,

Unclear why, but the child theme's customizations for the main wrapper's drop shadow are being ignored.. any ideas why?


Code: Select all
body #wrapper {
  -moz-box-shadow: 0 0 175px #666666;
  background: none repeat scroll 0 0 #111111 opacity:0.55;filter:alpha(opacity=55);
}


Thank you.

Kelly
User avatar
Kelly
 
Posts: 65
Joined: 16 Mar 2011, 11:44
Location: Ellsworth, ME

Re: Child's drop shadow on wrapper ignored

Postby drake » 14 Jun 2012, 08:59

It's not about child theme. If you look to your site with Firefox you will see the shadow just fine.
-moz-box-shadow is a property intended for Firefox prior to version 4. Now, all the rest of browser, apart Safari, support the CSS property "box-shadow". For Safari need to use -webkit-box-shadow. So, you can add at Suffusion Options -> Backend -> Custom Includes -> Custom Styles:
Code: Select all
#wrapper {
-webkit-box-shadow: : 0 0 175px #666666;
box-shadow: 0 0 175px #666666;
background:#111111;
opacity:0.55;
filter:alpha(opacity=55);
}

(repeat, scroll, 0, 0 is referring to the properties of background-image while background:none say - "I don't use background-image;")
drake
 
Posts: 3765
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Child's drop shadow on wrapper ignored

Postby Kelly » 14 Jun 2012, 09:37

Hey Drake, thanks - the box-shadow call straightened it out and NOW the shadow looks as intended :)

Similar dealy-o with dropping the moz in front of border-radius - that's fixed now too.

FWIW - Only modification made in child theme and Safari 5.1.1 is displaying page as designed.

Kindest regards,

Kelly
User avatar
Kelly
 
Posts: 65
Joined: 16 Mar 2011, 11:44
Location: Ellsworth, ME


Return to Support Requests

Who is online

Users browsing this forum: soundblob and 6 guests