• Hey, on my blog: https://www.danielmousdell.com/blog

    Does anyone know why the numbers are in a different font than all the other text on my blog. For example if you look under a post: “by admin | 25 February 2009 | Published in Uncategorized”

    The “25” and “2009” are in a different font ??

    Does anyone know how I can fix it, so the numbers are the same font as the rest of the text.

    Thanks alot ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • hi

    Your numbers are in the same font as the rest of the date. It sort of doesn’t look that way but they are. There is no distinction in the code between the numeric and alphanumeric parts of your dates. That is just the way numbers are rendered in that font.

    Thread Starter danaldinho

    (@danaldinho)

    But how come there not on my other blog: https://allthings-fresh.net/blog

    Its exactly the same theme aswell

    Thanks

    Here it is. You are employing many stylesheets. Here is the relevant section of code-

    <div class="meta">
    <h3 class="byline">
    by <a href="https://www.danielmousdell.com/blog/?author=1" title="Posts by admin">admin</a>
     | 25 February 2009 | Published in
    <a href="https://www.danielmousdell.com/blog/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a>
    </h3>
    </div>

    The first one is really declare the font is blog/wp-content/themes/LilWayneHQ/css/lib/typography.css-

    body {
      color: #555555;
      font-family: "Helvetica Neue", "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
    }

    Helvetica Neue is the primary font and most areas use ‘inherit’ to maintain the same look. However, the area you are concerned with is enclosed in a class named ‘meta’ for which we find additional CSS in blog/wp-content/themes/LilWayneHQ/style.css-

    .meta {
      color: #ccc;
      font-size: .8em;
      line-height: 1.875em;
      font-family: Georgia;
    }

    Here, you assigning the Georgia font. I’d suggest changing this to ‘inherit’ to comply with the rest of your site. Have fun!

    [sig moderated]

    Thread Starter danaldinho

    (@danaldinho)

    Thanks TapeBoy ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Numbers are in a different font’ is closed to new replies.