Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Changing background color in SugarCube 2.6.2 for Twine 2 doesn't seem to work properly for me?

$
0
0
Hey all. I recently switched from Harlowe to SugarCube 2.6.2 in Twine 2.0 (for its superior audio capabilities). I'm trying to change the background of passages using tags to be able to switch from background to another when I switch to another passage. In my stylesheet, I have the following:
body.test { background-color: white; color: black; }

In SugarCube 2.6.2, this causes a test passage I made to look like this: vVcOpoA.png

I tried the same stylesheet with Twine 2's built-in version of SugarCube 1.0.34, which resulted in this: 8FN86mK.png

The latter is clearly what I was going for, but I can't seem to get it to work in SugarCube 2.6.2, and a good deal of Googling seems to not have helped me much. Am I doing something wrong here (very likely, I'm not really all that experienced with HTML and CSS) or is something else broken? Am I better off just sticking with SugarCube 1? Thanks in advance!

Viewing all articles
Browse latest Browse all 1844

Trending Articles