WordPress.org

Ready to get started?Download WordPress

Forums

VIGILANCE - shift date to left and display time of post? (10 posts)

  1. cc4789
    Member
    Posted 4 years ago #

    the default for vigilance is to have the date with no time all the way over to the right at the top. can someone assist me in moving the date over to the left, right under the title of the post?

    in addition, as i make multiple posts per day, is it possible to have it tell the time of day that the post was made as well?

    my site is http://www.red94.net

  2. cc4789
    Member
    Posted 4 years ago #

    wanted to add, i also would like to slightly decrease the size of the font of the date/time.

  3. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    To move the date to the left, try deleting float:right; from:

    post .date {
    color:#757575;
    float:right;
    font-family:"Trebuchet MS","Lucida Grande","Lucida Sans",Verdana,Arial,sans-serif;
    font-size:1.6em;
    font-weight:normal;
    padding-top:10px;
    text-transform:uppercase;
    }

    in master.css. You can also reduce the font size in the same piece of CSS.

    In order to display the time as well, you'd need to edit the various theme template files and change the parameters for <?php the_time()?>.

    http://codex.wordpress.org/Template_Tags/the_time

  4. cc4789
    Member
    Posted 4 years ago #

    thanks alot! i will try this.

  5. cc4789
    Member
    Posted 4 years ago #

    is master.css the same thing as stylesheet.css?

    if so, i can't seem to find all of that in there.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    No - it's not the same. master.css may be within a sub-folder in the theme. Try adding:

    .post .date {float:none !important}

    to the bottom of style.css instead.

  7. cc4789
    Member
    Posted 4 years ago #

    awesome, it worked. now let me turn my attention to the time.

  8. cc4789
    Member
    Posted 4 years ago #

    also, you had mentioned i could reduce the font size. how would i do that?

  9. esmi
    Theme Diva & Forum Moderator
    Posted 4 years ago #

    Sorry - forgot about that. Replace:

    .post .date {float:none !important}

    with:

    .post .date {
    float:none !important;
    font-size:1.2em !important;
    }

    Adjust the value for font-size to suit.

  10. cc4789
    Member
    Posted 4 years ago #

    thanks! perfect.

Topic Closed

This topic has been closed to new replies.

About this Topic