Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112626

Andrew Nevins on "Custom .css for IE not working"

$
0
0

But this would only be for IE 7, right? Or should it say

Oh yeah, that's right.

Also, how would I edit stuff for ie now with that new code in place?

It'll be some CSS in your Child Theme stylesheet (style.css file) like this;

body.ie7 {
 background: red;
}

Or

body.ie7 h1 {
 font-size: 30px;
}

You'd prepend each style you want applied to IE7 or less with a selector named "body.ie7".


Viewing all articles
Browse latest Browse all 112626

Trending Articles