WordPress.org

Support

Support » Themes and Templates » VIGILANCE – shift date to left and display time of post?

VIGILANCE – shift date to left and display time of post?

  • 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

Viewing 9 replies - 1 through 9 (of 9 total)
  • wanted to add, i also would like to slightly decrease the size of the font of the date/time.

    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

    thanks alot! i will try this.

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

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

    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.

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

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

    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.

    thanks! perfect.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘VIGILANCE – shift date to left and display time of post?’ is closed to new replies.
Skip to toolbar