Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How do I add custom CSS?

A topic by Polaris Space created 5 days ago Views: 100 Replies: 3
Viewing posts 1 to 2
(1 edit)

I just got CSS access and I’m pretty excited to add my own styling to my pages. What is the general way custom CSS is added?

When I opened it, I got a blank text box where CSS goes, what I expected to find was an editor that already had content in it. Do you need to explicitly type #wrapper or is your CSS automatically applied there? How do I find what the predefined classes are specifically?

It would also be helpful if someone can post a screenshot of their CSS to use as an example.

Edit: Figured it out

Thank you,

https://itch.io/docs/creators/css-guide

Please place all your custom rules inside of #wrapper to avoid breaking or altering itch.io core functionality.

To view existing styles, we can use web developer tools in a browser. Example: in Vivaldi, key press Ctrl with U -or- mouse right click then select from Developer Tools.

I know how CSS and developer tools work, I’m familiar with web development. I was just expecting the given CSS editor to already have stuff in there. But I already figured it out, thank you.

Cool.

And maybe this thread will help someone else later.