Page 's custom CSS Load

I was wondering, is there a way to have pages load it’s own css? instead of a crammed css file loaded on layout.php?

Hi Tini,

If the main CSS file is loaded in layout.php, the browser is able to cache it.

If you load a different CSS file for each page, the browser has to load all these also.

2 Likes

Hey Tini,
You can create a second template if you want to load a different css file and not include the main template css. You can control what is referenced in the head of your new template layout file. Any page you want to load the new template (with a different css file) you simply put {{template:newTemplate}} at the top of your pageName.txt file in the admin area.

More info on templates here: http://help.pulsecms.com/article/17-template

1 Like

This topic was automatically closed after 3 hours. New replies are no longer allowed.