How to Compress Your CSS With {cms_stylesheet}

Last Updated on Tuesday, 29 May 2012 12:55 Written by Ken Griffith Tuesday, 5 June 2012 12:00

CMS Made Simple attaches stylesheets to a page template with the {cms_stylesheet} tag. Since CMSMS version 1.10, this tag will automatically concatenate all of the stylesheets for a given media type into one CSS file.

You may not be aware that since version 1.10, you can use SMARTY tags inside of CMS Made Simple stylesheets. With a couple of small tricks, you can use this to compress your stylesheets.

Using [[strip]] Tags

In CMS Made Simple stylesheets, we use [[double braces]] instead of {curly brackets} as the SMARTY delimiter. This saves using a ridiculous number of {literal} tags.

Learn More

Search

Authors

Web Hosting

Linux Hosting
ASP .NET Hosting
Business Hosting
Reseller Hosting
E-Commerce Hosting
Dedicated Servers

Acceptable Use Policy
Terms of Service
Privacy Policy

Affiliate Program
Site Map

Blog Hosting

WordPress Hosting
ExpressionEngine Hosting
Movable Type Hosting
Habari Hosting
Textpattern Hosting


CMS Hosting

Joomla Hosting
Drupal Hosting
MODX Hosting
Concrete5 Hosting
Xoops Hosting
Shopping Cart Hosting

nopCommerce Hosting
OpenCart Hosting
Magento Hosting
osCommerce Hosting
Tomato Cart Hosting


Video Sharing Software Hosting

ClipBucket Hosting
ClipShare Hosting
osTube Hosting
vShare Hosting
MediaXXX Hosting
Forum Hosting

XenForo Hosting
vBulletin Hosting
MyBB Hosting
phpBB Hosting
Simple Machines Hosting


Social Network and Community Website Hosting

SocialEngine Hosting
Elgg Hosting
SkaDate Hosting
Dolphin Hosting
phpfox Hosting
Copyright © 2003-2013 Arvixe, LLC. All trademarks are property of their legal owner.