Support » Fixing WordPress » Can I Make Just the Italics On My Blog a Different Color?

  • I’m looking for a way to make everything that shows up in italics a different color. I tried changing the color in CSS here:

    #description {
    	font-size: 12px;
    	font-style: italic;
    	letter-spacing: 1px;
    	padding: 12px 0 0 50px;

    but nothing changed. Is this even possible to do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • some text sections might be styled with the em tag;
    for these you might be able to add to style.css:

    em { color: #123edf; }

    but for any other texts in italic, you need to go through style.css line-by-line and add a color to each style with font-style: italic; in the formats, such as your given example.

    #description is the css id possibly of the tagline in the header – so this should have changed color – did you clear the browser cache?

    you can post a link to your site if you like.

    is there a closing } ?

    @alchymyth – Thank you! That first line did the trick. Sometimes I get so caught up in overthinking the problem that I forget about the simple solutions.

    @swansonphotos – Yes, there is a closing }, I just forgot to copy and paste that part.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can I Make Just the Italics On My Blog a Different Color?’ is closed to new replies.