Stylesheet for News

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.
Post Reply
RHF
Forum Members
Forum Members
Posts: 20
Joined: Sun Jan 23, 2011 1:55 am

Stylesheet for News

Post by RHF »

I would like to modify a style for a News item. How do I associate a stylesheet to one of the News templates. Note: Apparently the News templates do not appear under Layout->Templates, from which I would normally make the association.

I have seen similar queries on the forum but still have not figured out what I need to do. It is probably something simple, and I would appreciate any suggestions.

Bob
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Stylesheet for News

Post by RonnyK »

Bob,

the styling can be done using a regular stylesheet, which should then be linked to the PAGE-termplate. So from then on, it is loaded on the pages, where news is called.

If you want news just to have styling on a specific page, then you can call it either conditional, or within the page-specific metadata.

But easiest is just a stylesheet, linked to the pagetemplate.

Ronny
RHF
Forum Members
Forum Members
Posts: 20
Joined: Sun Jan 23, 2011 1:55 am

Re: Stylesheet for News

Post by RHF »

Ah, I see! So, if a News article is displayed on a "Home" page, the stylesheet should be associated with the template for the "Home" page. Thanks very much.
Post Reply

Return to “CMSMS Core”