Why is definition list is formatting as italics?

  • Author
    Posts
  • #1150158

    zeynel1
    Member

    I have this code <dl><dt>Physical quantity</dt><dd>a unit with a number</dd></dl>
    </dl>
    for a definition list but I don’t understand why the text in <dd></dd> shows as italics. The page is here (only the first definition is coded as definition list): http://densytics.com/about/definitions/

    Do you know how I can make the text in definition list not italics?

    The blog I need help with is densytics.com.

    #1150357

    justpi
    Member

    Definition list items usually have some sort of differentiation, and this varies from theme to theme (might be different color, different font etc). In the theme you’re using, the default styling for dd is italics. If you had the Custom Design upgrade you could change this once for all. Without the upgrade you can only change each and every dd by modifying its code in the so-called Text editor. For regular text, change these:
    <dd>
    to
    <dd style="font-style:normal;">

The topic ‘Why is definition list is formatting as italics?’ is closed to new replies.