Bugfix: Bold and Italic styles not working

Shannon pointed out to me the other day that when you use the bold or italics from within the visual editor, they weren’t showing up as such when viewed in the blog.

To fix it, open up “Design” (”Presentation” if you’re on WP 2.3.3 or earlier) –> “Theme Editor” and open up the “Stylesheet” (style.css). Then, scroll down to the very bottom, and add a new line by pressing return. Then paste in these lines.

strong {
font-weight:700;
}
em {
font-style: italic;
}

Click to update the file, and you should be fine.

5 Responses to “Bugfix: Bold and Italic styles not working”

  1. On Joel Llacar said:

    Great tip! Already implemented and its working!!

    Thank you Jared

  2. On Petra Hall said:

    At last! This had me stumped when I updated my blog to the new theme. All I need now is that blockquote to work!

  3. On Jared said:

    Block quotes don’t work? Arghhhggh. Back to work.

    Who uses block quotes anyway?

  4. On Petra Hall said:

    I’m sorry. I’m being a brat, ain’t I? Yes it didn’t work. I had a post with it with the old layout and it was working great. So it didn’t work with this theme, I tried to change it to italic, and well… this bug was there, so that didn’t work either. But at least now italic and bold will work… so let me know when the blockquote works. :D

  5. On Jared said:

    to fix blockquotes as well, add this:

    blockquote {
    padding-left:25px;
    border-left: 1px solid #e3e3e3;
    font-style:italic;
    }

Leave a Reply