Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Installing Css-Crush #36

Paykoman opened this Issue Aug 19, 2012 · 1 comment


None yet
2 participants

I'm a newbie and I tried to setup css-crush but I failed. I really want to use it so I'll be very grateful if you help me. I only know html, css and some js language.

Well this is what I've done so far: 1) I've downloaded the css-crush and copied the whole folder inside my site. 2) I've renamed the folder with "CssCrushFolder". 3) I've added the code in the head section of my index.html file, just like this:

require_once 'CssCrushFolder/CssCrush.php'; 
$compiled_file = csscrush_file( '/css/layout.css' );
<link rel="stylesheet" type="text/css" href="<?php echo $compiled_file; ?>" media="all" />

(My css layout is in a folder called "css" )

I've uploaded the files to my site and it doesnt work (I know my site support php). I hope someone can help me to solve this, I really want to use css-crush.

It would help me a lot if someone post a video or a demo page to show me how to install this.

Thanks in advance.


peteboere commented Aug 20, 2012


It sounds like you might need to brush up on some basic PHP first.

I'd recommend you install a basic PHP development environment on your own machine (e.g. Look for WAMP if you're using Windows, or MAMP if you're using a Mac) and try to get a feel for how PHP works a little.

It will be much easier if you can experiment locally, and try and get it working that way.

@peteboere peteboere closed this Aug 20, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment