4

While use cases for it are rare, CSS templates can parse tags if you need them to, but you must link to them with {path='template_group/css_template'} instead of {stylesheet='template_group/css_template}.


3

The simplest and and most flexible way is to use Template Layouts. In your main HTML Layout wrapper (simplified) which we will say is named "_html-layout" in the "layouts" template group: <html> <head> <link rel="stylesheet" href="/css/global.css"> {layout:css_extra} <head> <body> {layout:contents} </body> &...


2

You'll need to access your templates fix this issue. Log in to your control panel, and visit: Design -> Templates -> Template Manager Most likely, you'll have a template group named "Embeds", "Includes", "Global", "Layouts", or something along those lines. In that template group you will likely have a template named "head" or "header". What we are ...


2

EE's CSS and JS templates do not parse variables or tags. They're just static templates. Best to avoid EE altogether and just create CSS and JS files on the server. To still be somewhat dynamic, you can always hard-code rules in the <head> (for CSS) or above </body> (for JS). For example: <style> .style { width: {snippet_width}px;...


1

Every time I've seen this behavior it's due to 1 or 2 reasons: Issue#1: The URL and server path to the 'themes' (or renamed themes folder) is incorrect one too many or too less "/" can do it. The fact it works from the server and not any other computer tells me that your paths may be absolute rather then relative. To check : inspect the CP page in whichever ...


Only top voted, non community-wiki answers of a minimum length are eligible