0 votes
by (190 points)

I am writing in Twine 2, Sugarcube 2.28.2

I would like to change the color of links already visited.

My simple story has only two links, to toggle back and forth between rooms

room1 says:  [[room2]]

room2 says [[room1]]

My CSS code

body {background-color:White}

a {color:Green;}

a:hover {color:LightGreen;}

a:visited {color:Red;}

The link and hover colors work correctly, but there is no change after the link has been visited.t

1 Answer

0 votes
by (190 points)
by (68.6k points)

That answer is based on v1, for v2 use the Config.addVisitedLinkClass setting (note the casing).