Entry Title and Date Reversal
Posted: Thu Jul 10, 2008 10:54 pm
I am setting up my blog with a modified version of Andreas00. Currently the date is shown before the title above entries. I would like to reverse that with the title followed by the date. I would also like to have the date in a smaller font size.
I tried searching the forum for the answer which led me to editing the style.css file and the entries.tpl file.
I tried editing the style.css file with no luck. Here is the code from it:
I also tried editing the entries.tpl file with no luck:
My blog is here: http://www.dustinfike.com/blog
Thanks for any help you can give.
I tried searching the forum for the answer which led me to editing the style.css file and the entries.tpl file.
I tried editing the style.css file with no luck. Here is the code from it:
Code: Select all
#content h2, #contentleft h2, #contentright h2, .serendipity_commentsTitle, h4.serendipity_title {
font-size:1.5em;
letter-spacing:-1px;
font-weight:normal;
margin:8px 0 10px 0;
padding:0;
}
#content h3.serendipity_date, #contentleft h3.serendipity_date, #contentright h3.serendipity_date {
font-size:1.2em;
letter-spacing:-1px;
font-weight:normal;
margin:8px 0 10px 0;
padding:0;
}
Code: Select all
{foreach from=$entries item="dategroup"}
<div class="serendipity_Entry_Date">
{foreach from=$dategroup.entries item="entry"}
<h2 class="serendipity_title">
{if not $is_single_entry}{if $dategroup.is_sticky}
{$CONST.STICKY_POST}
{else}
{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY_ANDREAS}
{/if}{/if} <a href="{$entry.link}">{$entry.title|@default:$entry.id}</a></h2>
Thanks for any help you can give.