Home > CSS, Wordpress > Fixing Identity Themes Broken CSS In IE

Fixing Identity Themes Broken CSS In IE

September 1st, 2008 Admin Leave a comment Go to comments
Advertisement

If you are Identity Theme for Wordpress user, you may notice this theme will broken in IE but fine in Firefox. So would you leave them out? leave it with nothing? or you will fix it? I prefer option to fix it. Because this is a nice layout and just need a small touch for fixed in IE.

As we already know, IE has an extra padding (or margin?) that added to CSS. So we need a little script in our header theme to make IE read different CSS so this theme will show perfectly across browser :) . Add this code to your header.php theme before wp_head; via theme editor that built in Dashboard > Design > Theme Editor.

<!–[if IE]>
<link rel=”stylesheet” type=”text/css” href=”<?php bloginfo(‘template_directory’); ?>/style_ie.css” />
<![endif]–>

You’re almost done. And now download this fixed CSS and replaces old CSS in your theme folder.

Download CSS Fixed

If you finished all step, now it’s time to preview theme using IE and Firefox. Everything is OK? Hey, you have done :)

Just let me know if you found something wrong in different browser (type/version). Happy blogging :)

  1. Stuart
    February 26th, 2009 at 17:32 | #1

    Everytime I try to unzip the download it asks for a passphrase? I don’t see a passphrase/password provided above :S

  2. Admin
    February 27th, 2009 at 16:01 | #2

    Try this pass > http://blog.smileylover.com

    Regards :)

  1. No trackbacks yet.