[Resolved] how to add shadow effects in the comment box

Home Forums Support [Resolved] how to add shadow effects in the comment box

Home Forums Support how to add shadow effects in the comment box

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1094007
    Sanu Kumar

    how to add shadow effects in the comment box

    #1094341
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    .comments-area {
        padding: 40px;
        box-sizing: border-box;
        box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    }
    #1094346
    Sanu Kumar

    i want shadow effects in every comment box replied by me and by my readers

    #1094349
    David
    Staff
    Customer Support

    Then you need to target the .comment-content css class instead of .comments-area

    #1094354
    Sanu Kumar

    Thanks, David

    #1094625
    David
    Staff
    Customer Support

    You’re welcome

    #1095248
    Sanu Kumar

    hey David

    If you don’t mind then I need one more help.

    Could u tell me how to shift comment box in the right direction which was replied by me only?

    #1095266
    Leo
    Staff
    Customer Support

    Something like this?

    .comments-area .comment-author-masteryblogging .comment-body {
        padding-left: 30px;
    }

    By default WordPress should have reply option on in the comment so it shows up like this:
    https://www.screencast.com/t/S6bWjbWeX

    #1095279
    Sanu Kumar

    thnx Leo

    #1095280
    Leo
    Staff
    Customer Support

    No problem 🙂

    #1095281
    Sanu Kumar

    After adding this CSS, my Gravatar is also shifting, I don’t want to shift my Gravatar, I just want to shift only comment box replied by me only

    #1095283
    Leo
    Staff
    Customer Support

    Try this instead:

    .comments-area .comment-author-masteryblogging .comment-body .comment-content {
        margin-left: 90px;
    }
    #1095288
    Sanu Kumar

    now its fine

    #1095310
    Leo
    Staff
    Customer Support

    Great!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.