• Resolved jrick

    (@jrick)


    Hi,

    I’m using the Cutline theme (version 1.1), which italicizes all text within blockquote tags.

    Here’s the relevant part from the Stylesheet:

    blockquote { font-style: italic; font-family: Georgia, "Times New Roman", Times, serif; color: #555; margin: 0 30px 1.5em 30px; padding: 0 0 0 10px; border-left: 1px solid #aaa; }

    The problem is, there doesn’t seem to be a way to unitalicize certain words within blockquotes. You’d think that simply italicizing them within the individual post would do the trick, but it seems the Stylesheet is overriding that.

    Any ideas on a workaround? Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can either get rid of the font-style and change it to normal (or delete that line altogether). But if you want the blockquote text to always be italicized, as it is now, but with just the option to unitalicize certain portions, just use a <span> tag.

    .unital { font-style: normal; }

    Then when you are in a blockquote, surround that text with the span tag like this:

    <blockquote>Blah blah blah <span class="unital">I don't want this to be italicized</span> and on with the rest of the italicized text in a blockquote.</blockquote>

    Make sense?

    Thread Starter jrick

    (@jrick)

    Hi: Makes perfect sense. The only thing is, I don’t know where to insert

    unital { font-style: normal; }

    boober

    (@boober)

    just stick it at the end of your stylesheet

    jonimueller

    (@jonimueller)

    And it’s .unital .. you must have the period before it so the stylesheet recognizes it as a class.

    Thread Starter jrick

    (@jrick)

    It worked! Thanks guys.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Unitalicize text within a blockquote’ is closed to new replies.