[Solved] Setting News Module Postdate format within a stylesheet

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
westlc01
New Member
New Member
Posts: 2
Joined: Sun Aug 17, 2008 9:10 am

[Solved] Setting News Module Postdate format within a stylesheet

Post by westlc01 »

Has anyone set the date format for the News Module from within a stylesheet?

Anyone able to give me an idea?

Craig.

P.S.
The following doesn't work.

Excerpt from summary news template...

{if $entry->formatpostdate}

{$entry->formatpostdate}

{/if}
...


Excerpt from Stylesheet...

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
  color:#a65c76; 
  dateformat='%a %e %B %G';
}
...
Last edited by Anonymous on Wed Aug 20, 2008 6:48 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Setting News Module Postdate format within a stylesheet

Post by Dr.CSS »

Date format needs to be set in the tag, there is a how to in the modules Help, or you can set it in that part of the template...
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Setting News Module Postdate format within a stylesheet

Post by christiaans »

mark wrote: Date format needs to be set in the tag, there is a how to in the modules Help, or you can set it in that part of the template...
Exactly, the postdate is no way to be set from a css stylesheet!
christiaans
Power Poster
Power Poster
Posts: 300
Joined: Tue Mar 04, 2008 10:37 am

Re: Setting News Module Postdate format within a stylesheet

Post by christiaans »

Topic marked solved and closed.
westlc01
New Member
New Member
Posts: 2
Joined: Sun Aug 17, 2008 9:10 am

Re: [Solved] Setting News Module Postdate format within a stylesheet

Post by westlc01 »

Thankyou
Post Reply

Return to “Layout and Design (CSS & HTML)”