Help with News module

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Zuke

Help with News module

Post 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!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Help with News module

Post 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;
}
FinnK

Re: Help with News module

Post 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.
Locked

Return to “CMSMS Core”