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] Feature request / adding icon to the date  


Julia Termeer
Posts: 20
Customer
(@julia-termeer)
Member
Joined: 2 months ago

Hi there,

I guess this is only a small feature request that you can fast add to this widget:

1. Make it possible that you can adjust the font-size of the date when the comment has posted

2. Add an icon (like clock or calendar) to this date

 

Screen Shot 2020 03 27 at 3.43.08 PM
2 Replies
Astghik
Posts: 4129
Admin
(@astghik)
Support Team
Joined: 2 years ago

Hi @julia-termeer,

Thank you for the suggestion. 

You can do both using the custom CSS and JS codes.

1. Make it possible that you can adjust the font-size of the date when the comment has posted

To get it resolved, just put the CSS code in the "Widget custom CSS" textarea, located in the Dashboard > comments > Settings > Addons > Widgets admin page. 

.popular-comment-author-body i+div, .popular-comment-author-body a+div {
font-size: 12px !important;
}

2. Add an icon (like clock or calendar) to this date

In case, if you'd like to add a calendar icon use the following JS code in the active theme JS files. 

jQuery(".popular-comment-author-body a+div").before("<i class='fas fa-calendar-alt'></i>");

Here is an instruction: https://www.collectiveray.com/add-javascript-to-wordpress

Julia Termeer
Posts: 20
Customer
(@julia-termeer)
Member
Joined: 2 months ago

Thank you =)

Share: