0 votes
by (220 points)

Hello!

I want to use a specific type of font for some passages.

So example, I have 2 passages:

Dis Passage           Dat Passage

                        &

 

I could use something like this in the "Edit Story Stylesheet":

tw-story {

     font-family: 'Quicksand Light';

}

But what if I ONLY want the passage "Dis Passage"? Can I assign a class or id to it? Or it already has its own class or id?

Thanks for the help! smiley​​​​​​​

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

Please use the Question Tags to state the name and full version number of the Story Format you are using, as answers can vary based on that information. Based on the HTML element name used in your example I will assume you are using Harlowe v2.1.0, which is the current default story format.

The CSS and Passage Tags recipe in the Twine Cookbook demonstrates how to use Passage Tags to control the styling of the content of your story.

by (220 points)

I didn't change anything with the story format (nor do I know what it was laugh), so you bet that it's Harlowe v2.1.0

...