Support Forum
No, in the online examples it's working fine. I've not set the local examples on my web server so can't look at them via the browser.
I've created a very simple HTML page with a css theme loaded:
Then compared it to the online theme examples, and if I'm not mistaken it's not looking the same.
All the files (css and font "fa-solid-900.woff2") are loaded fine.
I've created a very simple HTML page with a css theme loaded:
<link rel="stylesheet" type="text/css" href="../../bryntumgantt/gantt-1.0.0-trial/build/gantt.stockholm.css" id="bryntum-theme">
All the files (css and font "fa-solid-900.woff2") are loaded fine.
Hi peterlechner,
Did you check our examples? What environment (framework) do you use?
We have guides for many frameworks but I don't know which one should I share with you. You can find the links here https://bryntum.com/docs/gantt/
@import "@bryntum/gantt/gantt.stockholm.css";
should be all you need.
Could you please share your app if it didn't help.
All the best,
Alex
Hi Alex,
I am using non of the common frameworks.
How can I do it with just plain JS.
<link rel="stylesheet" href="~/lib/bryntum/gantt.classic.css" type="text/css" id="bryntum-theme" />
<script type="text/javascript" src="~/lib/bryntum/gantt.umd.js"></script>
Fonts are located in lib/bryntum/fonts folder.
Thanks,
Peter