changing the posted date in news box (on homepage) to bold [solved]

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
leerees
Forum Members
Forum Members
Posts: 40
Joined: Tue Aug 07, 2007 5:34 pm

changing the posted date in news box (on homepage) to bold [solved]

Post by leerees »

ok im in the process of learning how to convert a template.

Basically I have this template

http://www.free-css-templates.com/demo/LightBiz2/

At the moment ive got the css in there and ive got this code in the html which is working and pulling up the news summary content

Code: Select all

<div id="rightside">

			<h2>Latest <span class="green">News</span></h2>
			
			{cms_module module="news"}
				
		</div>
now the problem is the date, postedby and text are all the same formatting, I'm aware of a definition in the style sheet called "date" this contains the formating for date and is what i need but how do i tell CMSMS to use this formating for displaying news dates. My ZX81 of a brain is having trouble understanding where the formating is defined in the template if all thats there is {cms_module module="news"} arrrghghhh!!!!

If someone can just explain this one thing to me then I'm certain I will be able to figure out a lot of the other stuff on my own. Plleeasseee help I am trying honestly this is my fird day near XHTML or CSS so at least I'm having a go.

thanks guys!!!
Last edited by leerees on Fri Aug 24, 2007 4:39 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: changing the posted date in news box (on homepage) to bold

Post by Nullig »

You should have the "Module: News" stylesheet associated with your template. Within it, look for the:

Code: Select all

.NewsSummaryPostdate {
  font-size: 90%;
  font-weight: bold;
 }
where you can change the font attributes for the date field.

Nullig
leerees
Forum Members
Forum Members
Posts: 40
Joined: Tue Aug 07, 2007 5:34 pm

Re: changing the posted date in news box (on homepage) to bold

Post by leerees »

Cheers 'ears,

It worked and now I'm able to change the fonts. Everythings all starting to make sense.
Post Reply

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