tips icon image

EE Insider Tips
Sponsored by EE Screencasts

ExpressionEngine mini-howtos created by the EE Insider community.

EE code in CSS stylesheet

User's avatar
  • Posted by Sean Smith
  • May 29, 2009
  • 1 person has found this tip helpful.

If you want to use EE code, such as a global variable to your images folder then you need to link to your style sheet using the regular path=“template_group/template_name” variable rather than stylesheet=“template_group/template_name”

There is a slight performance hit in this method, but it’s well worth it for access to global variables.

Add Your Comment?

You must have an EE Insider account to post comments on Insider Tips. It's fast, easy and hassle-free.

Sign up now (or login).

Search EE Insider Tips
Sponsored By