ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Italics Don't Work

April 24, 2012 3:06pm

Subscribe [2]
  • #1 / Apr 24, 2012 3:06pm

    Success100

    36 posts

    Expression Engine v2.4.0
    Wgywam v2.5

    When I try to italicize a word. The effects do not reflect on the live website. In the Wgywam editor the word is italicized though. I also tried to hard code a word in the template manager to be italicized but that did not work either.

  • #2 / Apr 24, 2012 4:03pm

    Rob Allen

    3114 posts

    Are you using a CSS global reset? Some third party resets cancel out italicising…

  • #3 / Apr 24, 2012 4:06pm

    Success100

    36 posts

    How would I know if I am using a CSS global reset?

  • #4 / Apr 25, 2012 12:44pm

    Dan Decker

    7338 posts

    Hi Success100,

    Most CSS frameworks come with a reset.css file that is meant to set a baseline that is consistent across most browsers.

    What html markup are you using for italics? Are you using a CSS framework?

    Cheers,

  • #5 / Apr 25, 2012 1:23pm

    Success100

    36 posts

    There was a CSS Reset. I removed em and i from the list. Italics now works. Thank you.

  • #6 / Apr 25, 2012 2:21pm

    Rob Allen

    3114 posts

    Glad you found it.

    Instead of removing em and i from the reset, you could have redeclared the styles, eg

    em { font-style: italic; color: red; }
    i { font-style: bold; color: yellow; }

    ...but whatever works for you 😊

  • #7 / Apr 26, 2012 2:29pm

    Dan Decker

    7338 posts

    Hi Success100,

    Fantastic!

    Thanks to Rob for the assist.

    If you need anything later on, just ping us in a new thread.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases