Cutting right to the chase: I'm needing to enable Custom CSS on a particular entry.

Current CSS Configuration

Whenever I load the page and inspect in Dev Tools, The style tag that Expression Engine promises to "automatically generate" is completely empty. It looks like this: Current Page Source

What do I need to do to get ExpressionEngine to push my class definitions into that darn style tag?

  • Is that an add-on or just a normal textarea custom field? Commented Feb 18, 2015 at 19:08
  • I think it's just a "normal textarea custom field." I enabled it on the page by showing the toolbar, by clicking the eyelid next to "Custom CSS" to make the icon an open eye. Then I saved the Layout and added CSS to the "Custom CSS" section of the page. Commented Feb 18, 2015 at 19:55

1 Answer 1


Based on your response above, it sounds like this custom field hasn't been implemented in your templates. Go to Admin > Channel Administration > Channel Fields to find the variable name for this field. Then go to Design > Template Manager and type the variable's name into the search field. That will show you which templates, if any, it's on, which should let you drill down further.

What you will likely be looking for, depending on how the person who built the site implemented it, is something like this (assuming the variable name custom_css):

{if custom_css != ''}
    <style type="text/css">{custom_css}</style>

Keep in mind that this is might be a different location from the site's main style tag, which is probably defined in a layout or embedded template that is used site-wide for the <head> section of your HTML.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.