Hello
I’m looking for examples on how to change the styling of Mayan EDMS
I know we can do this using System → settings → themes and apply custom css.
Thank you
Not sure if you into CSS or now how it works, but I just looked at he source code and made a list of things I wanted to change and made a theme that overrides those values. Example I used on my test server I wanted to make header bar yellow so I know I am on the test server.
.navbar-default {
background-color: #c1a803;
}
You can also put your own label where “Mayan EDMS” is via the config file. Just be sure to restart the services.
# In config.yml
...
COMMON_PROJECT_TITLE: Test Server
...
1 Like
Thank you so much for helping out. Just had one follow up query. i have setup the project using docker compose method. Where can i find / should add config.yml file ?
In Linux instalation with docker compose method.
The volume with the file is
/var/lib/docker/volumes/mayan_app/_data/config.yml
1 Like
Thanks @scv1503 was going to post I use a manual install from Turnkey Linux so not sure about the docker install. Good to know where its at on docker.
2 Likes
The value of COMMON_PROJECT_TITLE
can also be passed as an environment variable in the .env
file:
MAYAN_COMMON_PROJECT_TITLE='Test Server'
1 Like