Notices by james (james@palindro.me.uk)
-
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 06:45:30 JST james @hypolite
So if I were to, say, create a small .png file, save it in one of the add-ons' directories and add it to the .css file that threads it all together, would that do the job? I guess that would be overwritten with every new update too, yes? -
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 06:23:05 JST james @hypolite
Thank you. I'd already spotted those and didn't know if adding my own was possible if I did it along the same lines. Thought it was worth asking beforehand instead of trying it, failing, and wondering why. ?
I like your use of the word "yet". ? -
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 05:48:48 JST james @hypolite
Also, somewhat relatedly, does Friendica support custom emoji, and are they fairly simple to set up? I'm not 100% committed to doing this, just curious about how it all works. -
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 05:33:04 JST james @vegos_f05 @hypolite I'm the only user of my instance. ? -
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 05:31:59 JST james @hypolite No, I didn't know head.tpl existed! That's probably why I was having trouble.
I have made a backup of everything, so when the next update comes out I can just paste everything back into the necessary folders but leave all of the updated stuff alone. ? The fonts are all I'm changing. -
Embed this notice
james (james@palindro.me.uk)'s status on Monday, 26-Dec-2022 05:08:18 JST james I have been tinkering around in the config files for the Frio theme on my server. I would like to change the font to Source Sans Pro instead of Open Sans. Is there any way to do this? (Feel free to refer me to other materials/answers if this has already been asked and answered.)
I'm running Friendica on Yunohost and the installation directory is slightly different from versions of Friendica compiled from source: it's in /var/www/friendica/ instead of /var/lib/friendica.
I have tried creating a new directory in /var/www/friendica/view/theme/frio/font/ for Source Sans Pro -- the fonts themselves and the CSS file: /source_sans_pro/fonts/ and /source_sans_pro/source-sans-pro.css. I tried editing the entries in there so they referred to Source Sans Pro by name and the font files I uploaded to the /fonts/ folder that I'd just created. When I uploaded them, I created folders for each of the font files (Black, Bold, Semibold, etc.; italics too).
In ./frio/css/style.css I have also tried editing:
body { ... font-family: "Open Sans", sans-serif ... }
...to "Source Sans Pro", but none of this has worked. All I've managed to do is get my browser to refer to the fonts that are on my device rather than to the ones on the server.
Is there something I am missing?
I don't know if it's important, but I notice the original entries in Open Sans's .css file in /var/www/friendica/view/theme/frio/font/ have
a) version numbers on the end of the URLs/paths to source directories; and
b) font file types that don't exist on the server -- Open Sans is only present as .ttf files, but the URLs specify .eot, woff and even .svg files too.
I tried copying (b) for Source Sans Pro but this did not work. I didn't try (a) with it because I didn't know how (or if) the version numbers helped.