Title: Changing WP&#8217;s core Inline CSS via external CSS
Last modified: October 19, 2018

---

# Changing WP’s core Inline CSS via external CSS

 *  [questionator](https://wordpress.org/support/users/questionator/)
 * (@questionator)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/changing-wps-core-inline-css-via-external-css/)
 * Hello,
 * I’ve tried to change the Inline CSS of WordPress’s error pages **(not 403 or 
   404 error pages)** via my external custom theme CSS but it seems to be a more
   complicated task than i’ve thought.
 * I’m talking specifically about **body#error-page and html** so the page you get
   when you submit an empty comment form for example, it seems like **!important
   or [stlye]** tricks doesn’t work here much.
 * I’ve been searching for plugins to change this dilemma but it seems there are
   no such plugins around.
 * So has anyone managed it yet to change these hardcoded inline CSS parts of WordPress
   without messing with the core files?
    -  This topic was modified 7 years, 7 months ago by [questionator](https://wordpress.org/support/users/questionator/).
    -  This topic was modified 7 years, 7 months ago by [questionator](https://wordpress.org/support/users/questionator/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 7 months ago](https://wordpress.org/support/topic/changing-wps-core-inline-css-via-external-css/#post-10796042)
 * Please provide a link to a page on your site where we can see this. Thanks.
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/changing-wps-core-inline-css-via-external-css/#post-10797462)
 * For the page that is generated by an empty comment submission, your theme is 
   not involved, so none of the styles are loaded. You cannot affect it this way.
   
   You would have to read the code for wp-comments-post.php to see if there is a
   filter you could use to add styles.
 *  Thread Starter [questionator](https://wordpress.org/support/users/questionator/)
 * (@questionator)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/changing-wps-core-inline-css-via-external-css/#post-10928225)
 * Hi there and sorry for the late reply but i’ve tackled with a flu recently.
 * So just to cut it short; i’ve found the “**WP Inline Comment Errors**” plugin
   for my problem.
 * ps:
    [@joyously](https://wordpress.org/support/users/joyously/) you’re right.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Changing WP’s core Inline CSS via external CSS’ is closed to new replies.

## Tags

 * [error-page](https://wordpress.org/support/topic-tag/error-page/)
 * [inline css](https://wordpress.org/support/topic-tag/inline-css/)
 * [wordpress.css](https://wordpress.org/support/topic-tag/wordpress-css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [questionator](https://wordpress.org/support/users/questionator/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/changing-wps-core-inline-css-via-external-css/#post-10928225)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
