Page 1 of 1
News Module
Posted: Fri Feb 25, 2005 7:20 am
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
Re: News Module
Posted: Wed Mar 09, 2005 8:42 pm
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???
Re: News Module
Posted: Wed Mar 09, 2005 9:09 pm
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