Hello all,
I am currently trying to implement a custom theme with custom css.
So far, i put my mytheme.json as well as the mytheme.css in "espocrm/custom/Espo/Custom/Resources/metadata/themes" to keep it upgrade-safe.
I can select "mytheme" in the frontend, but as i apply it, i don't get access to mytheme.css (Error 403, forbidden).
Checked all rights, users and groups (www-data). Added <Limit>...</Limit> to my .htaccess, rebuilt apache.
Espo still can't fetch my custom css.
As i change the path to a css-file which is already existent, everything works fine...
mytheme.json:
The mytheme.css is, at least for now, copied from hazyblue.css.
Hope anyone is able to help me out.
Thanks in advance!
I am currently trying to implement a custom theme with custom css.
So far, i put my mytheme.json as well as the mytheme.css in "espocrm/custom/Espo/Custom/Resources/metadata/themes" to keep it upgrade-safe.
I can select "mytheme" in the frontend, but as i apply it, i don't get access to mytheme.css (Error 403, forbidden).
Checked all rights, users and groups (www-data). Added <Limit>...</Limit> to my .htaccess, rebuilt apache.
Espo still can't fetch my custom css.
As i change the path to a css-file which is already existent, everything works fine...
mytheme.json:
Code:
{ "stylesheet": "custom/Espo/Custom/Resources/matadata/themes/mytheme.css", "stylesheetIframe": "client/css/espo/hazyblue-iframe.css", "dashboardCellHeight": 155, "dashboardCellMargin": 19, "navbarHeight": 43, "modalFooterAtTheTop": true, "modalFullHeight": true, "fontSize": 14, "textColor": "#333", "chartGridColor": "#ddd", "chartTickColor": "#e8eced", "chartSuccessColor": "#85b75f", "chartColorList": ["#6FA8D6", "#EDC555", "#DE6666", "#8A7CC2", "#c1834d", "#4E6CAD", "#ED8F42", "#d69cc7", "#bfbfbf"], "chartColorAlternativeList": ["#6FA8D6", "#EDC555", "#DE6666", "#8A7CC2", "#c1834d"] }
Hope anyone is able to help me out.
Thanks in advance!
Comment