4
votes
Accepted
How to reference snippet variables inside a stylesheet template
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/...
3
votes
Accepted
How to load different stylesheets depending on the template
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&...
2
votes
How to reference snippet variables inside a stylesheet template
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 ...
2
votes
SSL Certificate Breaking the Site Style Sheets - Looking for a fix
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", "...
1
vote
bootstrap wont work on template
It's because you're using a relative path for <link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css"> instead of an absolute.
Your default template works ...
1
vote
Control Panel remains Unstyled
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
stylesheets × 7css × 4
templates × 2
ee2 × 1
channel × 1
php × 1
add-on-development × 1
module × 1
import × 1
ssl × 1
snippets × 1
bootstrap × 1
template-layouts × 1
cp-themes × 1
cpanel × 1