WordPress.org

Support

Support » Themes and Templates » [Resolved] <em> doesn’t show in cursive (Mandigo theme)

[Resolved] <em> doesn’t show in cursive (Mandigo theme)

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    egostripper
    Member

    @egostripper

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] <em> doesn’t show in cursive (Mandigo theme)’ is closed to new replies.