The Joomla! Extensions Directory ™

css2switch Basic ComponentPlugin

This Component enables Joomla!-Administrators to assign different stylesheets to any published menu-items. Assigning to an menu-item may be optional automatically handed down to all included Submenu-Items. Included Languages: English, German, Polish.

Known restrictions: This extension does support max. 2nd-level submenus. For more menu levels and functions (like different styles for registered users, multilevel-support and more) look for the commercial css2switch Enterprise edition.

Report Extension



Reviews: 2
I live this component. I use it in all my Joomla Website design projects. I only wish that this was compatible with J3.0

Please update soon!
Owner's reply

A Joomla 3 Version is now available!

Reviews: 4
Very good and easy to handle extension - i use this almost on any Joomla page and never had problems with it. No problems after upgrading Joomla nor updating the component itself. Very great and free extension!
Reviews: 3
I had put some complex coding into my joomla 1.5 to allow me to change the background colour of each menu item selected. The move to 2.5 didn't allow me to do it the same way as the core functionality in this area had changed. Then I found css2switch. This fantastic extension makes it so easy to change the background. I had one small question (my error) which was answered within 2 minutes in the support forum!! I highly recommend this product. Well done to mediahof for a job well done and excellent support! Tausand Dank!!!
Reviews: 7
I am using your component on every website that needs different templates.
It works wonderful, I never had problems.
Thank you very much, I consider buying the enterprise version.
Reviews: 52
We followed all the directions for installing and configuring this component/plugin combo and could not get it to work period. The bigger challenge is there's little to no documentation on the product if you run into these challenges. We wanted to test this product via the Basic version before committing to the paid version. Glad we did.
Owner's reply

Sorry that you didn't understand the simplicity of this component. Install with one click. Just put your additional css-files into yours template/css directory. Don't forget to give them filename the prefix template_.
Then go to the components backend and assign the css-files to the menuitems you like.
That's all, easy goin'. You need no luck, but a little bit intelligence.

More then 10.000 Joomla! Websites works with css2switch without any problems. If the component is to strong, you are to weak. Tell the community your problem in a usefull way, or post your problem at our first aid support forum. People like you does'nt think about how much work and sweat developers like us puts into their work.

Thanks and "good luck" to you,
John | mediahof, Germany

Reviews: 6
Since building my own Joomla template framework I won't have much use css2switch, but this well-built extension helped me out a couple of times when all other customization options had failed. Much easier than managing multiple templates, especially if one only needs to change a few small but perhaps important structural details to particular pages. It's dead quick to slice through thorny layout issues on especially customized sites, or templates converted from client designs/HTML. I'm sure there are many other uses for the creative template designer/developer and this is a handy, easy to use tool.

My only caveats. It's 'branded' —so if you like your HTML output to be clean and free of other developer's URLs and comments you're going to need to get into the code to redact all that. In that sense, it's a kludge: a brute force method of making your CSS work on Joomla. It's also a lot of configuration and it's yet another extension to manage if all you're trying to do is some simple unique page styling; make sure you can't accomplish what you need with template overrides, using the Page Class Suffix, or some other method of granular CSS control-by-page. Finally, I don't know if this will be ported to 1.6 and beyond but due to improvements in the core of Joomla's template engine it seems that a strong designer/developer wouldn't even need something such as this.

But as it stands, for Joomla 1.5., this is a fast way for a HTML/CSS developer to get designs Joomla ready without having to get into a lot of the deeper Joomla customization that can be intimidating.
Owner's reply

The branding in the generatortag is removed in newer versions. Kind regards, mediahof

Reviews: 6
Really a very usefull extention! Changin the stylesheet for some pages can be a very powerfull way of customizing a web site!

Thankyou very much for you work!
I hope CSS2switch will be available for Joomla 1.6
Owner's reply

The component is now available for Joomla! 1.6 and 1.7

Reviews: 3
I was disappointed to learn that this component requires PHP 5.2. Unfortunately the development server I am using has 5.1.6. This should be noted on the component restrictions. I'll have to find something else . . .
Reviews: 8
Kudos to the developers of CSS2Switch! It's an amazing piece of well written software and works like a charm. Thanks!
Reviews: 1
This is a REALLY great module.

Why don't more people know about this one?

STOP MAKING MULTIPLE COPIES OF YOUR TEMPLATE just to make a minor change for different pages!

HIGHLY recommended.
Reviews: 3
Could be a 5 star if they fix full support for sublevel menus and a option to have sublevels automatically enabled for new menu items. Great job! Looking forward to version 2 :-)
Owner's reply

This feature is released in the commercial enterprise version

Reviews: 2
This extension has excellent quality. It worked out of the box, recognising the template's stylesheet and two separate stylesheets (red.css and blue.css). It's a smart extension.

Thank you very much !!!
Reviews: 1
Hi, this is a great component, but 2bad it does not support 3-level menu's (sub in sub menu)
Owner's reply

The commercial enterprise version does not limit the supported menu levels

Reviews: 4
Comming from Dreamweaver i felt lost having no control over the formatting of my articles. WYSIWYG-editors have but very little formatting capability. With this component i have the luxury of formatting anything i want. You have to be very specific in targeting your html inorder to avoid mix-up with the site-template-html. The only problem i havent solved yet is that css statements for print seem to be ignored but i am not sure where this is coming from.

Keep it up guys ! Looking forward for enhancements !
Reviews: 1
Excellent component, gives you so much control over the style of your Joomla pages.

The only thing I would like to see improved would be for it to automatically include any new menu items that are created within the 'include sub-menus' option, at the moment I have to resave the configuration page to update any new menu items.
Owner's reply

This feature is released in the commercial enterprise version