Permission granted by Arsalan Shah
This is the original GoBlue Theme by OSSN but with local Google Fonts and "Font Awesome" by cloudflare.
In the GoBlue Theme provided by OSSN the Google Fonts are taken directly from the Google servers, but that is a problem in Europe, so I took the GoBlue theme and replaced the google fonts server call with local fonts in the "fonts" folder, same I did for Cloudflare stuff.
How did I archieved that?
I replaced the google fonts URL in ossn_theme.xml with a local version:
$head[] = ossn_html_css(array(
'href' => ossn_theme_url() . 'fonts/fonts.php',
));
and downloaded the fonts from google into fonts folder
White theme works for me, ossn 7.6.
Happy it's working now.
Thanks for your hints
v7.9 is working fine for me now (+ Roboto Slab on admin backend)
I'm sorry for causing your headache, beause now I remember:
Not loading Roboto Slab was introduced long time ago by OssnSmilies CSS, loading later and overwriting goblue/plugins/default/css/core/administrator.php
this way.
You may use the devloper console again and have a look into the response of ossn.admin.default.css
:
In the beginning there's
body {
font-family: 'Roboto Slab', serif;
font-size: 14px;
}
but at the bottom there's
body {
font-family: "PT Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}
And the last one rules. ;)
Thus, if we really want Roboto Slab at the admin backend, we have to add !important
to the adminstrators CSS.
Okay, I tried to rework with RobotoSlap, but in my administrator panel it is always loading Font Awesome
Even if I am restoring the original GoBlue, my admin panel is loading fa-regular-400.woff2 and fa-solid-900.woff2
so maybe someone can test my changes
I checked https://shadow.nlsociaal.nl and https://shadow.nlsociaal.nl/login
got fancybox CSS from cloudfare
i am willing to upload my version.
please check https://shadow.nlsociaal.nl/home if you can find google or cloudflare
Yes seems Dominik deleted all the versions and efforts others put for fixing sadly
I'm a little sad that this work is now ending like this. Yes, there were several attempts that didn't immediately lead to the desired success. But there were also various explanations of what the errors were and how to fix them. And now... all versions have been deleted and no one can understand the development and comments any more.
Of course there are many people here who just want to install a working component - and that's it. But there are also people who would like to get into programming Ossn themselves. And for them, a project like this that shows how to achieve success step by step can be an instructive example, I think.
Do you mean you gave up fixing this theme? 😂
I am done, maybe later