Forums

Easy Html question. I can't seem to figure it out though (4 posts)

  1. bbelack
    Member
    Posted 3 years ago #

    I'm using the Imprezz theme at benbelack.com/blog.

    If you look at the 3 posts shown on the home page, you'll see "march 09" under the date.

    The first two are right aligned and have a white background.

    The third, is left aligned with a greenish background color. That is how I'd like all of them. And, further, I'm not sure why the other two are that way. I've tried messing with the html, but I can't seem to solve the issue. I can send anyone the style.css if they could help this newb.

  2. kmessinger
    Member
    Posted 3 years ago #

    The first two are <am> and the last is <pm>

  3. protist
    Member
    Posted 3 years ago #

    It looks like the template is using <am> and <pm> tags, which is weird. Anyhow, I believe the (non-elegant) quick solution is to open style.css where you'll find this:

    .PostTime pm{
    background: #293538 repeat scroll 0 0;
    color: #FFF;
    padding:0px;
    display: block;
    width:95px;
    left: 0;
    font-size: 14px;
    text-align: right;
    }

    Change it to this:

    .PostTime pm,
    .PostTime am {
    background: #293538 repeat scroll 0 0;
    color: #FFF;
    padding:0px;
    display: block;
    width:95px;
    left: 0;
    font-size: 14px;
    text-align: right;
    }
  4. bbelack
    Member
    Posted 3 years ago #

    Thanks so much! It worked!!!

Topic Closed

This topic has been closed to new replies.

About this Topic