[Support request] wp-comments-post.php – how to change font-size via CSS?

Home Forums Support [Support request] wp-comments-post.php – how to change font-size via CSS?

Home Forums Support wp-comments-post.php – how to change font-size via CSS?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #402236
    john770

    Hi guys,
    When testing the comments form on blog pages and hitting the submit button without filling out all required fields, an error is shown on a wp-comments-post.php page reminding the user to fill out the missing fields.
    The font-size there is too small for my needs but I haven’t been able so far to change it via CSS.
    The source code says

    
    #error-page p {
    	font-size: 14px;
    	line-height: 1.5;
    	margin: 25px 0 20px;
    }
    

    but I can’t manage to overwrite that.
    Even

    
    #error-page p {
    	font-size: 18px !important;
    }
    

    has no effect. Why that?
    Thanks for any help!

    #402367
    Tom
    Lead Developer
    Lead Developer

    You’re likely seeing the standard WordPress error page. I’m not sure if it’s possible to edit it, but it might be worth asking over on https://wordpress.stackexchange.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.