WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] <em> doesn't show in cursive (Mandigo theme) (3 posts)

  1. egostripper
    Member
    Posted 6 years ago #

    Well,

    I'm using the mandigo theme ( http://www.onehertz.com/portfolio/wordpress/mandigo/showcase/ )

    I like the template very much, but now I'm getting problems with em (it isn't cursive but showing bold in the frontend) See the gifs below:

    http://www.dolleboel.net/em1.gif
    http://www.dolleboel.net/em2.gif
    http://www.dolleboel.net/em3.gif

    Does anybody know how I can fix this in a php file or something?

    I've tested it with another standard theme of wordpress and then it works.

  2. moshu
    Member
    Posted 6 years ago #

    I've tested it with another standard theme of wordpress and then it works.

    Which means there is something odd in the stylesheet of your theme. I remember a similar case where the theme author defined in the stylesheet em as = bold. Check it.

  3. egostripper
    Member
    Posted 6 years ago #

    Found it:

    if ($fb) {
        require($wpconfig);
        $mandigo_em_italics       = get_option('mandigo_em_italics');
    
    ______________
    
    em {
      <?php if ($mandigo_em_italics): ?>
      font-style: italic;
      font-weight: normal;
      <?php else: ?>
      font-style: normal;
      font-weight: bold;
      <?php endif; ?>
    }

    I changed this to:

    em {
      <?php if ($mandigo_em_italics): ?>
      font-style: italic;
      font-weight: normal;
      <?php else: ?>
      font-style: italic;
      font-weight: normal;
      <?php endif; ?>
    }

    I can probably make this code more cleaner, but I'm no php/css wizz. So I'm glad it worked!

Topic Closed

This topic has been closed to new replies.

About this Topic