How to change main text color in twine 2 sugarcube 2.36.1?

i am very new to coding and have tried lots of different things after looking it up, but no matter what i do the main text color will not change from white.

btw even though i’m new to this, i’m using sugarcube instead of other formats because i couldn’t figure out how to do things like delaying a link on the other ones.

Yeah, me too (re being not very experienced at coding.).

I don’t know if there’s a better way to do it, but you can change the basic text colour by adding this to the Story Stylesheet for the project you are working on:

/* Change the basic text colour - put this in the Twine project style sheet*/

body {
color: #cc99ff;

To get the text colour you want, change the ‘color’ code.

If you’re trying to figure out how to do any styling in your game, I highly recommend learning how to use the “Developer Tools” window in your desktop browser. If you look in the latter half of my comment here, I explain how to use it to find existing styling on a page and how to test various style settings before adding those changes to your game’s Stylesheet section.

Using that method should make styling your page way easier to figure out.

Hope that helps! :slight_smile:


thank you :grin:

yes it does help! i’m definitely going to start learning how to use the developer tools so thanks so much! :smiley: