My stylesheet is not loading; or my page loads with no styling or effect from CSS stylesheet

If your stylesheet is not loading properly (symptoms include a page that displays no coloring or expected layout etc), then your server's configuration of the Apache service is a little over-aggressive in its efforts to prevent you from doing things that might be questionable.
This will usually happen on first-time installs of Zen Cart to a webserver you haven't used Zen Cart on before, and especially on (but not limited to) Windows/IIS hosts.

If you have access to your server's errorlog data, you can confirm that this is the problem by viewing the logs. They will most likely tell you "Limit option not allowed here".

You have a couple options:

  1. PREFERRED:  Ask your hosting company to add the "Limit" keyword to the AllowOverrides parameter of your domain's vhost configuration in their server's httpd.conf settings file.
    This is your most secure option for Apache-based Webservers.
    Windows IIS Webservers, this option is of no value. You'll have to use the following method instead:


  2. If they won't do that for you, you'll have to disable the security protections that the supplied .htaccess files would normally provide for you:
    Simply use your FTP program to temporarily rename the /includes/.htaccess file to htaccess_OFF   
    Do the same for your /admin/includes/.htaccess file, since similar symptoms are likely occurring there as well.

    After making this change, if your stylesheet loads properly (formatting appears more like you expected), then the settings in this .htaccess file will need to be altered for compatibility with your webhost, or you can choose to ignore their security benefits completely.  The logic in the /includes/.htaccess and /admin/includes/.htaccess files basically just say "for all *.php files, don't allow them to be accessed via a browser directly".  Your host should be able to help you secure those folders using other means if they're not willing to make the change suggested in option #1 above.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...