Notifications
Clear all

Change font size of Author

5 Posts
4 Users
0 Likes
1,627 Views
(@starlanding)
Member Customer
Joined: 6 years ago
Posts: 5
Topic starter  

Hello,

How can I change the font size of the Author's name? I would like to change it to 14px. When I try to do this in CSS, the results do not change.

#wpcomm .wc-comment-author{font-size:14px; width:75%; float:left; white-space:normal; text-align:left; padding:7px 0px 2px 10px; }

Thank you!


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5911
 

Hi starlanding,

Please use the following CSS code, put it in Dashboard > Comments > Settings > Styling admin page put this code in "Custom CSS Code" textarea. 

#wpcomm .wc-comment-label span {
font-size: 14px !important;
}

Don't forget to delete all caches do CTRL + F5 on frontend.


   
ReplyQuote
BillMoo
(@billmoo)
Eminent Member
Joined: 6 years ago
Posts: 20
 

Hello,

I tried this but still doesn't work for me.

#wpcomm .wc-comment-label span {
font-size: 14px !important;
}

I forgot something ?

Please, look at the image.

authorcomm

Thanks for your help.


   
ReplyQuote
Arina
(@arina)
Support Team
Joined: 10 years ago
Posts: 101
 

Hi @billmoo,

Please use the following CSS code:

#wpcomm .wc-comment-header .wc-comment-author > a{
font-size: 15px !important;
}

Don't forget to change the red marked color codes before using.


   
ReplyQuote
BillMoo
(@billmoo)
Eminent Member
Joined: 6 years ago
Posts: 20
 

Thank you Arina, it works perfectly !


   
ReplyQuote
Share:
Scroll to top