News Module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
chris_e

News Module

Post by chris_e »

I'm currently trying to style the News module for my site. I need some breaks between hte Date and News-Content, does anybody know where to hack the PHP-Code? I tried in modules/news/modulefunctions.php but all I got was nothing... Thanks a lot...

Chris
Petroski

Re: News Module

Post by Petroski »

Hey, I have the same problem. If I put two News items on the same page there is no separation (word wrap)  between the two entries. I'd also like to know where to modify the formatting for the news items. I'm assuming that it's done in the news.module.php file???
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: News Module

Post by Greg »

Here is some code for you

Code: Select all

.cms-module-news {
	display: block;
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #777;
}
.cms-news-date {
	color: #DD0000;
	font-weight: bold;
}
.cms-news-title {
	color: #006400;
	font-weight: bold;
}
.cms-news-content {
	color: #000;
	font-size: 1.1em;
	display: block;
	margin-top: 4px;
}
Oooppsss forgot - you don't need to modify the php code just add this to your CSS file
Last edited by Greg on Wed Mar 09, 2005 10:36 pm, edited 1 time in total.
Greg
Locked

Return to “Modules/Add-Ons”