Tagged: x
-
AuthorPosts
-
January 29, 2017 at 8:04 am #1349544
michaelxxxParticipantHi,
I found one of your support posts:
https://community.theme.co/forums/topic/styling-comments-by-post-author/where you give an example link of an styling:
http://kidonmyhip.com/white-chocolate-cheesecake-with-peanut-butter-frosting/How can I add this style of the comment fields to my comments?
https://one-million-places.com/reiseberichte/asien/china/unsere-probleme-mit-dem-72-stunden-transitvisum-chinaJanuary 29, 2017 at 9:08 am #1349591
RupokMemberHi 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!
January 29, 2017 at 9:21 am #1349599
michaelxxxParticipantYes, 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
January 29, 2017 at 10:49 am #1349682
RupokMemberHi there,
Thanks for clarifying. It would be possible with Integrity stack or if you use Child Theme to modify the template for Ethos.
Cheers!
January 30, 2017 at 4:31 am #1350502
michaelxxxParticipantI 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?January 30, 2017 at 5:07 am #1350538
ChristopherModeratorHi 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.
January 30, 2017 at 11:13 am #1351046
michaelxxxParticipantyeah, looks great. Thank you! 🙂
January 30, 2017 at 12:46 pm #1351160
JoaoModeratorGlad to hear it 🙂
Cheers
February 5, 2017 at 8:34 am #1358597
michaelxxxParticipantOne 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-tierbilderFebruary 5, 2017 at 8:50 am #1358600
ThaiModeratorHi There,
Please add the following CSS:
article.comment { padding-top: 15px; padding-bottom: 15px; }Hope it helps 🙂
February 5, 2017 at 9:21 am #1358617
michaelxxxParticipantno 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.February 5, 2017 at 9:55 am #1358646
ThaiModeratorHi 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.
February 5, 2017 at 10:08 am #1358657
michaelxxxParticipantHi,
no it doesn´t work 🙁
Here is the link with the 2 child comments:
https://one-million-places.com/weltreise/reisevorbereitungenFebruary 5, 2017 at 11:07 am #1358681
ThaiModeratorHi 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 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1349544 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
