WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The great starter theme _S for Wordpress has the following CSS reset included, which works pretty well I find: https://gist.github.com/4173728

But I prefer the Eric Meyer one, which I'm sure you're all familiar with.

I find I run into problems with the _S one because I'll be wondering why something isn't reacting as it should do my styling, and I look, and the reset file has a 1.5em adjustment on something, or a float:left on another thing. Dealing with style I didn't input myself is the main reason I use CSS resets in the first place.

BUT, my question stems from the fact that the _S reset CSS has these seemingly Wordpress specific aspects to it, like:

#searchsubmit {
    display: none;


.assistive-text {
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;

So am I missing out on things by using on a non-Wordpress-specific CSS reset? Would I be better off just tailoring it to be more close to what I want?

share|improve this question

WordPress doesn't add any CSS to your site, at least not by default, other than a little bit for the admin bar. For the most part, all of the CSS is added by your theme or by a plugin, though there might be an exception or two.

WordPress functions do generate a lot of ids and classes though, but those shouldn't matter for a CSS reset. A 'reset' normalizes browser defaults for things like lists, tables, paragraphs and other basic markup. You don't 'reset' specific ids or classes because there are no browser defaults. So, really what you have listed isn't really a reset.

If you are happy with your reset, keep it. WordPress is not special as per what is or is not a good reset.

share|improve this answer

Well, your linked gist is not a reset. Reset implies that it provides you with a blank slate -- that one doesn't, it looks more like normalize.css.

There is not official WordPress CSS reset. If you're building a theme you can use what you like.

However, there are several WordPress generated CSS classes that you should account for. As long as you do that, your theme will play nice with WP and you have nothing to worry about.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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