#1 2010-10-01 15:34:03

Ion Tester
From: France
Registered: 2010-06-04
Posts: 581

A little trick to change CSS on the fly

Add this in your 'header page' :

<ion:medias type="file">
        <link rel="stylesheet" href="<ion:src />" />    

And then, in advanced settings in the back-office, add CSS extension with 'files'

Now, just add a file in every page or article you want to change the css in the admin panel tongue

Ionize rulezzz smile

Webmaster / OUF!WEB


#2 2010-10-01 18:24:32

Ionize Core Team
From: Paris, France
Registered: 2010-03-22
Posts: 927

Re: A little trick to change CSS on the fly

Great usage !!!

Bravo !

Go further and limit "src" to CSS :

<ion:medias type="file">
        <link rel="stylesheet" href="<ion:src />" extension="css" />    

Kink rocks wink

Inspiration & Innovation : Websites by Partikule, Agence Web Paris


What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.


Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations