There are two ways of customizing how Shaarli looks:
Shaarli's appearance can be modified by adding CSS rules to:
This file allows overriding rules defined in the template CSS files (only add changed rules), or define a whole new theme.
Note: Do not edit
tpl/default/css/shaarli.css! Your changes would be overridden when updating Shaarli.
See also Download CSS styles from an OPML list
WARNING - This feature is currently being worked on and will be improved in the next releases. Experimental.
data/config.json.phpand set the value of
raintpl_tplto the new theme name:
v0.9.0: select the theme through the Tools page
With the following configuration:
/home/user/public_html/somediris served as
httpis the name of the Apache user
$ cd ~/public_html # clone repositories $ git clone https://github.com/shaarli/Shaarli.git shaarli $ pushd shaarli/tpl $ git clone https://github.com/alexisju/albinomouse-template.git $ popd # set access rights for Apache $ chgrp -R http shaarli $ chmod g+rwx shaarli shaarli/cache shaarli/data shaarli/pagecache shaarli/tmp
Get config written:
Edit Shaarli's configuration|Shaarli configuration:
# the file should be owned by Apache, thus not writeable => sudo $ sudo sed -i s=tpl=tpl/albinomouse-template=g shaarli/data/config.php