Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1349544
    michaelxxx
    Participant
    #1349591
    Rupok
    Member

    Hi there,

    Thanks for writing in! Do you want to change the background color of comment field? Looks like you hvae added the below code :

    .comment-form-comment textarea {
      background-color: #f0efef;
    }

    Let’s change this or take off to get default style.

    Cheers!

    #1349599
    michaelxxx
    Participant

    Yes, I want to change the color of the comment fields… not of the input area.

    I like this design… indented, 2 different colors (alternating), the “reply” button in the comment field, and a small border for each comment with a shadow

    #1349682
    Rupok
    Member

    Hi there,

    Thanks for clarifying. It would be possible with Integrity stack or if you use Child Theme to modify the template for Ethos.

    Cheers!

    #1350502
    michaelxxx
    Participant

    I use the Ethos stack… and I already have Child Theme active.

    So which code do I need to add to my child theme to get this style?
    Can you please help me with this?

    #1350538
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    ol.x-comments-list > li > article .x-comment-content-wrap {
        background-color: #f2f6f9;
        overflow: hidden;
        padding: 30px;
        border-radius: 4px;
        box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135);
    }
    ol.children li .x-comment-content-wrap {
        padding: 30px;
        background-color: #fff;
        border-radius: 4px;
        box-shadow: 0 0.15em 0.35em 0 rgba(0,0,0,0.135);
    }
    li.comment {
        border-top: none;
    }
    
    

    Hope that helps.

    #1351046
    michaelxxx
    Participant

    yeah, looks great. Thank you! 🙂

    #1351160
    Joao
    Moderator

    Glad to hear it 🙂

    Cheers

    #1358597
    michaelxxx
    Participant

    One more question:

    At the moment my blue and yellow comment boxes have all the same padding-top (35 px)

    How can I reduce the padding just between the blue box (comment) and the yellow box (answer to the comment)?
    https://one-million-places.com/unsere-100-schoensten-tierbilder

    #1358600
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    article.comment {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    Hope it helps 🙂

    #1358617
    michaelxxx
    Participant

    no this doesn´t work… because sometimes there can be 2 child elements.

    Please see the attached image.
    This is how it should be – small space between yellow boxes, and bigger space before the next blue box.

    #1358646
    Thai
    Moderator

    Hi There,

    Please try with this CSS:

    .x-comments-list > .comment > .comment {
        padding: 0;
    }

    If it doesn’t work, please send the link has 2 child comments.

    Thanks.

    #1358657
    michaelxxx
    Participant

    Hi,

    no it doesn´t work 🙁

    Here is the link with the 2 child comments:
    https://one-million-places.com/weltreise/reisevorbereitungen

    #1358681
    Thai
    Moderator

    Hi There,

    Please try again with this CSS:

    .x-comments-list > .comment > .comment {
        padding-bottom: 0;
    }
    
    ol.children ol.children .comment {
        padding-top: 0;
    }

    Hope it helps 🙂

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