AI Assistant
Notifications
Clear all

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

5 Posts
2 Users
0 Reactions
4,501 Views
(@jaryszek)
Eminent Member
Joined: 7 years ago
Posts: 29
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#3150]

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: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 7 years ago
Posts: 29
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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: 7 years ago
Posts: 29
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

aa great, working like a charm!

Best,
Jacek



   
ReplyQuote
Share:
Scroll to top