Notifications
Clear all

[Solved] How to change font size in HTML Field on comments form

5 Posts
2 Users
0 Likes
3,091 Views
(@jaryszek)
Eminent Member
Joined: 5 years ago
Posts: 29
Topic starter  

Hi,

I want to change HTML Field on comments forms. 

Screenshot 26

But still i have no proper font-size and font-weight, how to change this?

Bez tytułu

my website: stage.dookolapracy.pl


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

Hi @jaryszek,

Please follow these steps: 

1. Add some class or ID instead of CSS rules: 

class

2. Navigate to Dashboard > Comments > Settings > Styles admin page add a CSS rule for this class in "Custom CSS Code" textarea: 

Custom CSS

   
ReplyQuote
(@jaryszek)
Eminent Member
Joined: 5 years ago
Posts: 29
Topic starter  

Hi Astghik,

this is not working unfortunately. 

I added class "komentarz" as you showed on screens. 
But the main class is winning here:

Screenshot 33

I did my font-size: 12 px but still i have 14px because .single-article #comments p has 14px !important...

Please help,
Jacek

website: stage.dookolapracy.pl

Screenshot 34
This post was modified 5 years ago by jaryszek

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

please remove the CSS code you've added in "Custom CSS Code" textarea and put this one:

.single-article #comments #wpcomm p.komentarz {
font-size: 12px !important;
}

   
ReplyQuote
(@jaryszek)
Eminent Member
Joined: 5 years ago
Posts: 29
Topic starter  

aa great, working like a charm!

Best,
Jacek


   
ReplyQuote
Share:
Scroll to top