wpDiscuz - WordPress Comment Plugin
Share:
Notifications
Clear all

[Solved] How to change Comment text size?


Non78910
Posts: 3
Topic starter
(@non78910)
New Member
Joined: 1 year ago

can you please give CSS that only work on comment?

 

thank you

Topic Tags
3 Replies
Non78910
Posts: 3
Topic starter
(@non78910)
New Member
Joined: 1 year ago

or any other option that work on changing comment text size

2 Replies
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3556

@non78910,

Please try the CSS codes below:

/*use this code if Rich Editor is enabled*/
#wpdcom .ql-editor > * {
font-size: 20px !important;
}

/*use this code if Rich Editor is not enabled*/
#wpdcom textarea{
font-size: 20px !important;
}

/*use this code if you want to chage the font-size of the comemts in the list*/
#wpdcom .wpd-comment-text * {
font-size: 20px !important;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

The red marked values should be changed before using. 

Please don't forget to press Ctrl+F5 (twice) on the frontend before checking.

Non78910
(@non78910)
Joined: 1 year ago

New Member
Posts: 3

@asti thank you so much

it working fine now

I spent 2 hours for this problem before asking you for help but it not working at all

thank you so much

Share: