I'm developing my own Wordpress theme and I'm trying to make it as light as possible. I started from the Underscores starter theme, but they use normalize.css to reset the styles.

Is it necessary to include it in my theme or is there a better method?

  • 1
    It's a helpful thing to do for consistency of looks across browsers. not totally necessary, but could reduce the need for browser-specific design fixes later. I reckon it's a good thing, so have included it in my theme.
    – majick
    Commented May 7, 2019 at 13:12
  • 1
    It's not 'necessary', but it'll help you get consistent styles across browsers. The CSS in your theme can be literally anything you want, but there's a reason people use normalize. It helps. Commented May 7, 2019 at 13:13
  • I guess I'll keep it in there, just to be sure everything will look okay. I just wanted to reduce the amount of code in my theme. Commented May 7, 2019 at 13:47

1 Answer 1


Web standards are pretty good these days and IMO I don't think things like normalize are nearly as necessary as years ago.

I would recommend having a look through the CSS file and deciding for yourself.

You can always just grab what styles you think are relevant and include them in your own CSS. This will cut down on a dependency and make you more aware of what code you are including in your own theme.

Quick note: You can use caniuse.com to look up specific styles or tags you might have questions about.

For Example, normalize includes this CSS...

main {
   display: block;

If you look up main HERE, you will see it was added to the spec late and could cause bugs in IE if you don't apply block to it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.