Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1193524
    Stanley Tan
    Participant

    Hi, I’m trying to add a box-shadow to each post in the tags page.
    Here’s an example url: http://www.selbys.net/tag/trade-shows/

    I tried adding custom css to .entry-wrap but there are other elements using it too. Any ideas?

    The goal here is to add a box-shadow for the description area only (.entry-wrap) or the whole box (.entry-wrap + the featured image).

    #1193577
    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    You can add this under Custom > Edit Global CSS in the Customizer.

    
    .archive.tag .x-iso-container>.hentry .entry-wrap {
        box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135);
    }
    

    Hope that helps

    #1194959
    Stanley Tan
    Participant

    Hey Paul, thanks for that but it didn’t work on my end: http://www.selbys.net/category/blog/

    Can you check it on your side?

    #1195132
    Lely
    Moderator

    Hello Stanley,

    Provided CSS is working on tags page as initially requested. See this:http://screencast-o-matic.com/watch/cDQUf1jZPv
    But then this page: http://www.selbys.net/category/blog/ is an archive page.
    If you want that code to work on category page too, please update to this instead:

    .archive .x-iso-container>.hentry .entry-wrap {
        box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135);
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1193524 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>