Logo
March 18, 2011
By Erwin Otten

Add the visitors' browser and platform to your html body class

A small, free Magento extension that adds the visitors' browser and platform information as classes to the <body> element of every page. For example: "ie ie7 windows", "firefox windows", "safari mac" etc.

What is BodyClassPlus?

A small, free Magento extension that adds the visitors' browser and platform information as classes to the <body> element of every page. For example: "ie ie7 windows", "firefox windows", "safari mac" etc.

Why

Because extra CSS files for IE, IE7 and IE8 are bulky, conditional comments are 'soooo 2010' and it's just really handy. You could for example place all your hasLayoutfixes in your styles.css like so:

Or do something browserspecific like:

Will it break my webshop?

No! It's a really small extension and it only adds the extra functionality discriped above.

How to install?

Unzip & upload, that's it.

It doesn't work ...

Flush your Cache ;)

How to get it?

Download it here (Pay with a Tweet)

March 18, 2011
By Erwin Otten

Looking for a Magento webshop specialist?

We'd love to get in touch with you. Let's start a Magento webshop project?