Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
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/...
user avatar
  • 2,255
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&...
user avatar
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 ...
user avatar
  • 11.3k
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", "...
user avatar
  • 5,900
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 ...
user avatar
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 ...
user avatar
  • 3,163

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