- This topic has 11 replies, 4 voices, and was last updated 10 years, 9 months ago by
Tom.
-
AuthorPosts
-
May 8, 2015 at 11:40 am #106665
orlando britain
recently bought the premium, very happy with it.
I want to have drop shadow around the full site border/container…
at the moment I can only get it on the right of content and footer-widgets section using:
#content {box-shadow: 5px 5px 5px #555;} #footer-widgets {box-shadow: 5px 5px 5px #555;}is there one container/div that i can use for this instead of doing each section. if not can you tell me the correct # anchor to use for the header, navigation and bottom footer section as i can’t work it out.
this is the site (work in progress): http://harddrivepros.orlando-b.co.uk/
many thanks,
orlando
May 8, 2015 at 10:37 pm #106720Tom
Lead DeveloperLead DeveloperTry this:
.site-header, .main-navigation, .container, .site-footer, .site-info { box-shadow: 0 10px 10px #555; }May 9, 2015 at 1:08 am #106730orlando britain
this is perfect. thanks tom!
May 9, 2015 at 7:26 am #106790Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
June 18, 2015 at 1:03 am #115320Marko
Hi Tom
I use this Css but it does’nt work on my site. There is now a shadow between the header and navigation and a wrong shadow at the footer. Could you take a look?Thanks a lot.
MarkoJune 18, 2015 at 1:23 am #115329Marko
Hi Tom
It was a chaching problem, but there is only a small problem in the “inside-header”
How can i remove the shadow between the header and the top navigation “site-navigation”.Thanks a lot.
MarkoJune 18, 2015 at 2:52 am #115342Marko
and the shadow on the following sites are different.
http://dev.webseite-online.de/business-e-mail/
http://dev.webseite-online.de/kontakt/
http://dev.webseite-online.de/support/There are used sections on these sites.
June 18, 2015 at 6:40 am #115362Tom
Lead DeveloperLead DeveloperTry changing your “Content Layout” (Customize > Layout) to “One Container”.
Also, set your footer area to contained (in the same section).
June 18, 2015 at 7:51 am #115380Marko
Hi Tom
Thank you for your feedback.
It doesn’t work on pages which have a section in it.
Take a look here: http://dev.webseite-online.de/support/Do you have a solution for that different displaying?
And how can i remove the shadow in the bottom of the header?Marko
June 18, 2015 at 8:11 am #115381Tom
Lead DeveloperLead DeveloperAny reason you’re using Sections for that page? Looks like it could just use the regular content.
As for the shadow, try this:
In GP Hooks:
1. Add this to the “Before Header” hook:
<div class="full-container grid-container grid-parent">2. Add this to the “wp_footer” hook:
</div><!-- .full-container -->3. Add this CSS:
.full-container { box-shadow: 0 10px 10px #555; }June 18, 2015 at 9:02 pm #115493Marko
Perfekt! Thanks a lot for your perfect support.
June 18, 2015 at 11:28 pm #115502Tom
Lead DeveloperLead DeveloperHappy to help! 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.