CSS

Introduction

...

Basic CSS methods

Including css in your plugin or theme may be achieved by using the following function:

e107::css($type, $value);
Type
Value
Description

theme

path relative to the theme's folder

Include a theme css file in the header of the site

url

full url to css file

Include a remote css file in the header of the site

inline

css code

Include raw css code in the header of every page of the site

Examples

TODO: add examples

Last updated

Was this helpful?