I’m trying to use font awesome in a gh page based on photorama theme but it does not work. I am already using font awe in my main page which is based on uno theme and it works ok (I just needed to modify the config.yaml).
I just would like to change the fonts used in the galleries:
but I don’t know which files I need to modify. Any hint?
(I’m not sure if I want to use font awe for the whole theme, like uno theme does, that’s what I tried to do at first without luck )
A very basic approach is to copy and paste that code on any page like index.md
It doesn’t matter if your CSS is not in head, just get it to display as a first attempt.
After that works, then you can look at doing it the right way with CSS in the head tag.
It would be useful to have a link to your actual theme or repo
But the general idea is you need to find where the head tag is defined in maybe default.html layout or includes/head.html
If the theme already has one of these, you should copy the file from the theme to your own project as is and add just the one CSS line you need.
Then you can use the FA classes anywhere on your site
I am not familiar with the uno theme and you haven’t shown a link to where uno itself uses the setup
Can you indicate what you mean by not working? Does the JS file you added load or give a 404? Have you added any font awesome icons on your page?
Are you after using svgs or fonts or some JS animation? It looks like font awesome does a lot.
Here it says there is a CSS and JS file so maybe you need both.
I’d start with the W3 tutorial I linked before. And in the Test window on that site you can add your kit link there and test the icons or whatever works. Without using Jekyll. It easier to test in a more limited environment and then move your working code to Jekyll