Hi,
I would like to change the way my comments are shown in my blog,
1- when comments are nested, they become too narrow. I want to be able to handle left and right padding of nested comments.
2- I want to highlight the author of post comments in some way. for example to use a different color for font and to change the background color of the comment. a “(post author)” next to the name of the comments author would also be great.
3- How can I change the background color of even and odd comments?
4- How can I put a comment and its replays into a big box around them?
Thanks
How to Style Vantage Comments Layout
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Hosein
Thanks for reaching out. We’ll do what we can to assist. All CSS to go at Appearance > Custom CSS. Edit as required:
1.
2.
3. No existing styling for this. You can try targeting:
and
4. You can target this class:
With border and padding as required.
Hi Andrew,
Thank you for your replay,
I used the following CSS to highlight post author comments:
I have a little problem though, when someone replays to my reply, that comment also gets highlighted.
this problem can clearly be seen here : http://tinyurl.com/o5rnp8p
also for the problem number 4, I tried the following CSS:
but nothing happened.
For the border around the area, try targetting:
You can add padding as well as your border declaration to help the border around the comments area.
Perhaps try this for the Post Author:
I’ve pulled it from some other work so you’ll need to tweak it a bit. It’ll add a little bubble next to your name where you can add content.
(If you aren’t already using your browser developer tool to inspect the page source and CSS, please, see our video: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/
Hi Andrew,
Thank you very much for your support. I worked for me but still need some modification.
The problem I have is that when I apply your final code for post author, something weird happens in the following situation: http://imgur.com/9Pabmg3
The problem is that when I reply to someone, I correctly am tagged as post author.
However when someone replies to my comment, Not only me but also them are tagged as post author.
This isn’t necessarily the styling you have to use but can you just try this out to see if it suffers from the same issue?
Thanks
Ref: http://www.wpbeginner.com/wp-tutorials/how-to-highlight-authors-comments-in-wordpress/
Yes. it produces the same issue.
Here we go: