[Support request] Adding shadow box around container for specific post types

Home Forums Support [Support request] Adding shadow box around container for specific post types

Home Forums Support Adding shadow box around container for specific post types

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2366182
    Dmitrii

    Some quick content:
    – I have two main post types (directory listings and regular blog articles).
    – The listing page is styled perfectly, so I don’t want to change anything there.
    – For the regular blog article, I’d like to add a shadow box around the container (without it impacting the listing post type).

    I tried using this CSS but it impacts both post types:

    .inside-article {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 4px;
    }

    #2366216
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    
    .single-post .inside-article {
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
        border-radius: 4px;
        padding: 20px;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.