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
News Module
Re: News Module
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
Here is some code for you
Oooppsss forgot - you don't need to modify the php code just add this to your CSS file
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;
}
Last edited by Greg on Wed Mar 09, 2005 10:36 pm, edited 1 time in total.
Greg