Leaner CSS - how to remove "art-"


Author Message
ChrisA

Posted: 3/24/2010
Quote message 

Hi,

Does anybody know how to remove the "art-" from a template, the CSS and functions etc. I've tried using search and replace and the theme stops working. I think it's may have something to do with the javascript not finding the correct function.

I'm using Drupal and I'm trying to reduce load times and also generally don't want to see "art" this and "art" that. If I have to have something I'd rather use something relevant to the client. If I could lose all the extra "art-" it would reduce the code size and look a lot neater.

Thanks
Chris
 
Nicky

Posted: 4/1/2010
Quote message 

You did that in all files of the theme? Not just css?
 
Cooleroni.com

Posted: 4/28/2010
Quote message 


Artisteer is setup that way so that if you customize the template or extend it you can easily tell what came from artisteer and what portions are hand coded.

If you really want to go down that path, change a few things in the CSS, then switch over to the template side. Make the changes to the template. Test and repeat. A blind search and replace is just asking for trouble.

If you want to reduce load times you might want to look at the Y!Slow plugin for Firefox. They have a bunch of useful tools to minify javascript / css. The image smusher is a great tool. They even grade your site for general speed. http://developer.yahoo.com/yslow/

In my opinon EVERY web developer should have Firebug and YSlow in their toolkit.