We're merging with GenerateBlocks! Learn more here.

[Support request] Creating Box Shadow Around Posts

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Creating Box Shadow Around Posts

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18097
    Ben
    Participant

    Hi Guys,

    I’m trying to create a box shadow around my posts when displayed using wp-show posts.

    The CSS I’m using is;

    .wp-show-posts-columns.wp-show-posts-inner {
    margin: 0 0 2em 2em;
    box-shadow: 0px 2px 16px 0px rgba(0,0,0,.1);
    }

    It works perfectly when I edit the code when I inspect the element using my browser but when I apply it to the CSS editor it doesn’t work at all.

    Can you help?

    Thanks

    Ben

    #18128
    Tom
    Keymaster

    Hi there,

    Can you link me to the page so I can inspect the code? Looks like it should be working.

    #18162
    Ben
    Participant

    Hey Tom,

    Sure its https://sitra.org/

    Thanks

    Ben

    #18177
    Tom
    Keymaster

    Ah, you’re missing a space in there.

    Try this:

    .wp-show-posts-columns .wp-show-posts-inner {
        box-shadow: 0px 2px 16px 0px rgba(0,0,0,.1);
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.