Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How To Actually Get A Custom Font Working On Profile Using Custom CSS?

A topic by Mediasaur created Jul 07, 2024 Views: 348 Replies: 1
Viewing posts 1 to 2

Heya,

Just got access to custom CSS and I've been pulling my hair out trying to use a custom font that isn't on Google Fonts as the default font on my profile. Basically, I like my profile to pop and I've been looking to rebrand my page to a Y2K/Frutiger Aero aesthetic. For that to look authentic, I really want to use Comic Sans for my default font. However, being new to CSS and custom CSS within Itch.io, it's been a struggle. Every single custom class and method I've used has done nothing to the actual font of the page, even if that font is supported and on Google Fonts! The closest I got was to put my custom properties under the body class. Although, that just changes all the text OUTSIDE of my profile, as in like, the itch.io UI... Is there a reason as to why I can't change the font family at all through CSS or am I just doing it wrong? I don't even care if the font doesn't appear the same on mobile, just desktop is fine.

Thanks in advance to anyone able to help.

(+1)

I'm a dumbass. Just had to put the font in a custom class then use it in a div in the html. tee har silly me

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.