This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

shadow around entire website

Resolved 4 replies premiumthemetheme-vantage
10 years ago · Last reply by Daniel 10 years ago

Hi do you know custom css code for putting a shadow around the entire site, just like on this website http://photographer-st-ives-cornwall.co.uk/. I’ve bought quite a few vantage themes for you and will be using the vantage theme again to recreate this site but need to know if I can create this similar shadow. I’ll test it on another site of mine.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Magus Staff 10 years, 10 months ago

    Hi Elise

    This can be accomplished with some custom CSS. Navigate to Appearance->Custom CSS and add the following

    /*media all*/
    body.layout-boxed.responsive #page-wrapper {
        box-shadow: 0px 0px 10px black;
    }

    This will only work on sites with a boxed layout but will wrap the entire content area with a shadow. You can adjust the spread by adding another px value after the 10px, and the color by changing the black using either a #value or a color name.

    You can get the #values here

    http://www.colorpicker.com/

    Let us know how you get on

    Magus

  2. Magus Staff 10 years, 10 months ago

    Hi Elise

    I have just found your website through an old post. The above CSS will only give you shadow around the sides, including the menu and footer. If you want the shadow all around you would need to add a top and bottom margin to the section as well

    body.layout-boxed.responsive #page-wrapper {
        box-shadow: 0px 0px 10px black;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    Hope this helps

    Magus

  3. Eli Langley 10 years, 10 months ago

    That’s amazing thank you so much, you guys are awesome. Worked perfectly, now I am confident to take on this new website.

  4. Daniel Staff 10 years, 10 months ago

    Hi Elise

    Am glad that worked out for you

    @Magus much appreciated :)

    Cheers

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread