Skip to content

Commit b707d78

Browse files
committed
Add recommendation to plugin order
1 parent d1b7d21 commit b707d78

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ The directory structure should look like:
2424

2525
To enable the plugin, just check it in the Plugin Administration page (`?do=pluginadmin`).
2626

27-
You can also add `custom_css` to your list of enabled plugins in `data/config.json.php`.\
27+
You can also add `custom_css` to your list of enabled plugins in `data/config.json.php`.
2828
The `general.enabled_plugins` list should look like then:
2929

3030
```
3131
"general": {
3232
"enabled_plugins": [
33-
"custom_css",
34-
[...]
33+
...other_plugins_above,
34+
"custom_css"
3535
],
3636
}
3737
```
@@ -62,6 +62,8 @@ Supported values: any string (without validation!), defaults to empty.
6262

6363
## Recommendations
6464

65+
Put this plugin to the bottom of the enabled plugins list either in the config JSON file or via the administration UI. This lets you redefine other plugins CSS rules as well.
66+
6567
An example CSS you can try out for starting customizations over the default theme: `.linklist-item, .linklist-item-title, .linklist-item-infos, .page-form, .page-form .window-title, .linksperpage a, .linklist-filters .filter-off, .linksperpage input[type="text"], .searchform-block input[type="text"] { background: #fff } .linklist-item-infos-url { display: none } .linklist-item-infos-dateblock { width: 100% } .linklist-item-title h2 { line-height: 1em; padding: 0.3em 10px 0.3em } .linklist-item-infos .label-tag { background: #f4f4f4; } .label-tag a { color: #595959 } .linklist-item-infos .linklist-item-tags { font-size: .8em; padding: 0.2em 0 0.7em; }`
6668

6769
Shaarli Custom CSS works best with my [Shaarli Markdown Toolbar](https://github.com/immanuelfodor/shaarli-markdown-toolbar) plugin, check it out, too! 😉

0 commit comments

Comments
 (0)