Page 1 of 1
Help with News module
Posted: Fri Jun 23, 2006 2:00 am
by Zuke
So, if you goto my page (
http://www.infinitegeekonline.com/cms) you can see that the news module is up and active in the lower left hand side. Here's my question:
Can I change it slightly so there is some spacing between News posts? How about make the titles bigger? As it is right now, everything looks sort of slopped together!
Re: Help with News module
Posted: Fri Jun 23, 2006 3:37 am
by Dr.CSS
some calls for news CSS change what you need, look at your source to get an idea of what is what...
/* News Layout */
.NewsSummary {
margin:5px 10px;
}
.NewsSummaryCategory {
font-style: italic;
margin: 5px 0;
}
.NewsSummaryPostdate {
font-size: 90%;
font-weight: bold;
}
.NewsSummarySummary, .NewsSummaryContent {
line-height: 140%;
margin-bottom: 5px;
}
#NewsPostDetailDate {
font-size: 90%;
font-style: italic;
margin: 5px;padding:0 10px;
}
#NewsPostDetailSummary {padding:0 10px;
margin-bottom: 10px;
line-height: 150%;
}
#NewsPostDetailContent {
margin-bottom: 15px;padding:0 10px;
line-height: 150%;
}
/* to add specific style to the below div, uncomment them. */
.NewsSummaryLink {}
.NewsSummaryAuthor {display:none}
.NewsSummaryMorelink {
margin:0 0 10px 10px;padding: 0;
}
#NewsPostDetailTitle {
padding:0 10px;color:#666666;
}
#NewsPostDetailHorizRule {}
#NewsPostDetailCategory {
padding:0 10px;
}
#NewsPostDetailAuthor {
padding:5px 15px;
}
#NewsPostDetailAuthor {}
#NewsPostDetailPrintLink {
padding:0px 10px;
}
#NewsPostDetailReturnLink {
padding:5px 10px;
}
Re: Help with News module
Posted: Fri Jun 23, 2006 5:49 am
by FinnK
... and you might look at the templates you find where you add news articles. Summarytemplate and detailtemplate. You might change these templates or look at them and make new templates that you put into the modules/news/templates folder on the server. - Then you call them when you use the news tag: look at the helptext.