-
Notifications
You must be signed in to change notification settings - Fork 1
Loading CSS Styles
Brian McCoy edited this page Feb 23, 2018
·
4 revisions
- Store your CSS files under
assets/cssin your theme.
- Inside your theme open
/app/assets/css-assets.php - Add a load_css() call. The first parameter is the URL to the CSS file. The second optional parameter is an array of arguments. See arguments.
- If
handleis not defined as an arg the URL parameter will be used. - If
veris not defined as an arg the theme version will be used.
If you simply need to load a CSS file you can do: