Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum   wpForo Support Forum

[Solved] How to add verified batch after author name in comment area?  

  RSS

cnpatel
(@cnpatel)
Active Member
Joined: 2 years ago
Posts: 18
18/06/2018 1:00 am  

I have code for below condition:

If person who comments = author, then

#wc-author:after {
font-family: FontAwesome;
content: "\f058";
font-size:1.5rem;
font-weight: 400;
color: #4DB2EC;
padding: 0px 7px;
}

But how to make that condition?

Quote
cnpatel
(@cnpatel)
Active Member
Joined: 2 years ago
Posts: 18
18/06/2018 1:08 am  
Capture

ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4382
18/06/2018 2:11 pm  

Hi cnpatel,

Put this CSS code in Dashboard > Comments > Settings > Styling > "Custom CSS Code" textarea. 

.wc-blog-post_author .wc-comment-author:after {
font-family: FontAwesome;
content: "\f058";
font-size:1.5rem;
font-weight: 400;
color: #4DB2EC;
padding: 0px 7px;
}

ReplyQuote
cnpatel
(@cnpatel)
Active Member
Joined: 2 years ago
Posts: 18
18/06/2018 9:20 pm  

It works for only author who wrote the post. I wanted to make it work for all authors (!important), admins, editors, contributors; available on the website.


ReplyQuote
cnpatel
(@cnpatel)
Active Member
Joined: 2 years ago
Posts: 18
19/06/2018 12:09 am  

I did this:

.wc-blog-author .wc-comment-author:after {
font-family: FontAwesome;
content: "\f058";
font-weight: 400;
color: #4DB2EC;
padding: 0px 7px;
}
.wc-blog-post_author .wc-comment-author:after {
font-family: FontAwesome;
content: "\f058";
font-weight: 400;
color: #4DB2EC;
padding: 0px 7px;
}

Any other way to make it short?


ReplyQuote
cnpatel
(@cnpatel)
Active Member
Joined: 2 years ago
Posts: 18
19/06/2018 12:27 am  

and this for admin:

.wc-blog-administrator .wc-comment-author:after {
font-family: FontAwesome;
content: "\f058";
font-weight: 400;
color: #4DB2EC;
padding: 0px 7px;
}

Any other way to make it short  for All (authors , admins, editors, contributors)?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 3 years ago
Posts: 4382
20/06/2018 12:25 pm  

Hi cnpatel,

This is the way to do what you want. You need to write the CSS code for each role (authors, admins, editors, contributors).


ReplyQuote
Share:
Scroll to top
0

Your Cart