(Solved) Assign CSS to a single page

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
User avatar
micahgodbolt
Forum Members
Forum Members
Posts: 149
Joined: Thu Jul 29, 2010 11:09 pm

(Solved) Assign CSS to a single page

Post by micahgodbolt »

Is there a smarty tag or something that will allow me to associate a CMSMS stylesheet with individual pages. For things like shopping cart, listit, guestbook etc, I'd love to not have to make separate templates just to change css association.

I know I can just link a css file to the page via the page specific metadata (or even just put the code there), but I prefer keeping my css flexible with the cmsms stylesheet system.

/* Edit */

Found it....Duh. {csm_stylesheet} can be used to pull a single stylesheet instead of all the associated ones. Lets see if that works.
Post Reply

Return to “CMSMS Core”