GoBlue Theme (Local Fonts) Download 7.9

German Dominik L 3 weeks ago

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

Comments
Hungarian Tamás Varga Replied 4 days ago

White theme works for me, ossn 7.6.

German Dominik L Replied 2 weeks ago

Happy it's working now.

Thanks for your hints

German Michael Zülsdorff Replied 2 weeks ago

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.

German Dominik L Replied 2 weeks ago

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

German Michael Zülsdorff Replied 2 weeks ago

I checked https://shadow.nlsociaal.nl and https://shadow.nlsociaal.nl/login
got fancybox CSS from cloudfare

enter image description here

Dutch Eric redegeld Replied 2 weeks ago

i am willing to upload my version.
please check https://shadow.nlsociaal.nl/home if you can find google or cloudflare

Indonesian Arsalan Shah Replied 2 weeks ago

Yes seems Dominik deleted all the versions and efforts others put for fixing sadly

German Michael Zülsdorff Replied 2 weeks ago

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.

Indonesian Arsalan Shah Replied 2 weeks ago

Do you mean you gave up fixing this theme? 😂

German Dominik L Replied 2 weeks ago

I am done, maybe later

Component

Developer: Dominik
License ossnv4
Type: Themes
Requires Ossn Version : 7.3
Latest Version: 7.9
Last Updated 2 weeks ago
Repository Url View Repository

Versions