Where is CSS for NewsPostDetailDate located? + other q's. [partially solved]

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
erat

Where is CSS for NewsPostDetailDate located? + other q's. [partially solved]

Post by erat »

I thought maybe there isn't one and added NewsPostDetailDate { blaa } on my default .css file. However chages there didn't affect on the page.

Also, what is the summary of news php-script? If I make a long post CMSMS gives me a 'more', when I click it I get to see the news + the older news under it. I don't think I want this feature, I just want news content to show up. It makes my page too long.

Furthermore is there a possibility to add a word limit on the news editor? I don't want the table which contains my news to get any longer than I've set it to be.

-eRat

p.s. I got the summary thing go away by deleting whole tag section. Seems it shows content without it
p.p.s. Thnx Nullig, much appreciated.
Last edited by erat on Fri Feb 22, 2008 8:50 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Where is CSS for NewsPostDetailDate located? + other q's.

Post by Nullig »

The News styling is done via the "Module: News" stylesheet, which should be attached to your template.

Nullig
erat

Re: Where is CSS for NewsPostDetailDate located? + other q's. [partially solved]

Post by erat »

I couldn't get any changes in Layout->Stylesheets->Module: News to show up. My own page template's stylesheet has been attached to all pages. I have deleted all other templates except my own. What have I done wrong? I did try adding news styling to this template of my own making, but it didn't affect on page styling.

Oh and where can I add and edit Content->News->Add Article->Format Dropdown styles? I want to add a float: right and a float: left divs for images.

Edit: I'll add here what I have in each section:

Template->Stylesheets->myStyle(assigned to all pages)

News {
padding-right: 120px;
}


Content->News->Summary Templates->myNews(default)

wrapped around almost the whole myNews document. (Because I want whole news section to have this padding)

You can see the problem here: http://clanfrp.byethost13.com/cms/ There is no right side padding, which makes the text go too close to the right edge.

-eRat

p.s. Thanks for your patience I'm a bit lost how this works even after reading the documentation twice.
Last edited by erat on Sat Feb 23, 2008 10:21 am, edited 1 time in total.
alby

Re: Where is CSS for NewsPostDetailDate located? + other q's. [partially solved]

Post by alby »

erat wrote: News {
padding-right: 120px;
}
Maybe with #News { is better  ;)

Alby
Locked

Return to “CMSMS Core”