agaskar.com

Jan 31 2008

Disappearing List Bullet Bug In IE7 — Wordpress Fix.

The default Wordpress theme (Kubrick) uses ‘pretty’ bullets that do not appear in IE7. Fortunately, the fix for this is not a total nightmare:

if you don’t already have an iestyles.css, add the following to your header.php AFTER the stylesheet line (which looks like this: <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />):

<!—[if IE]>
<link rel=”stylesheet” type=”text/css” href=”/wp-content/themes/default/iestyles.css” />
<![endif]—>

Now, add the following lines to your iestyles.css file in your theme directory:

html<body .entry ul {
list-style-type:disc;
text-indent:0;
}

Please note: THIS DOES NOT ADD BULLETS TO THE SIDEBAR. I feel that bullets in the sidebar would look really bad in the default theme. If you want bullets in your sidebar, you’d probably want something like the following in the iestyles.css (untested):

#sidebar ul ul {
list-style-type:disc;
text-indent:0;
}

Comments (View)
Page 1 of 1
blog comments powered by Disqus