• I inserted this bit of code in my main page and single post page:

    <small><?php the_time(‘j F Y’) ?> by <?php the_author() ?></small>

    right after the post title. But I can’t figure out how to format it. It comes out in times when everything else comes out in verdana (as it should.)

    I tried to adding <font-family: verdana> after the <small> (and closed it up on the other end) but nothing changed. Any suggestions? I can’t find any reference in the css sheet…

    Thank you!
    Sign me: Stumped & Clueless

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Miravacas

    Could you link to your homepage that way it will be a lot easier to look through you code and help you.

    Have you tried to create a new style in the stylesheet.
    I had the same problem with my date as well. But I sorted it out by creating a new style in the stylesheet. Have a look here: Update: New date format.

    Good luck
    /Phil

    Thread Starter Miravacas

    (@miravacas)

    Hi Phil,
    The site is https://www.auctionrealestatecompany.com. I did not create a new style, I’ve never done that before. I was able to make it italic (removed that) with regular html… why can’t I change the font? It’s buggin’ me!

    Thank you,
    Mira

    Hi Mira
    Your problem is that the date is inside the class=post, which is probably set to font-type=Times New Roman.

    I suggest that you create a new date style like I showed on my page and then wrap it around the date:
    <div class=date><small> Your Date PHP tag here </small></div>

    I hope this helps you.

    Merry Christmas =)
    Phil

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Format post byline: date & author’ is closed to new replies.