SB #8 Centering text on Twine

((I posted this yesterday, but it somehow got erased. I’ve tried to repost it twice now. Third times the charm, I guess))

Here is me attempting to center my title page on Twine:

This worked, but I didn’t want to center everything in my story, I wanted most passages to be on the left side.

So I did this instead, and it worked great!

The only problem is for some of my passages, I want to center certain sentences, not the whole passage. I’ll play around with it and watch some more tutorials, and hopefully I’ll figure it out!

This is my title page as of right now. I’ll probably change it. I may just opt for drawing it, since I’m kind of struggling with basic level coding, like centering text. I think it would take me way too long to code a title.


Posted

in

by

If you’ve lost your way in the IFStravaganza, you can always go back to the beginning.

Comments

4 responses to “SB #8 Centering text on Twine”

  1. maliha.chowdhury Avatar
    maliha.chowdhury

    Thank you so much for showing me how to only center one page! I was struggling with the same thing and totally get what you mean! Twine can be a struggle to use at times. I will let you know if I figure out how to center only certain lines.

  2. danish Avatar
    danish

    Glad you figured out how to center text on Twine! It’s something that’s a little strange and sometimes it doesn’t work, and then sometimes it does? It’s so odd. However, (maybe it’s too late) but an easy way to center lines is to use the “=><=
    YOUR TEXT YOU WANT CENTERED GOES HERE
    }

    Hope this helps! It might have been too late, but hopefully it isn't just yet 🙂

    Keep it up- you got this!

    1. kawthar.mahdi Avatar
      kawthar.mahdi

      I didn’t know about this–thank you! I’ll give it a try!

      1. danish Avatar
        danish

        I just realized the code doesn’t show up properly- CURSE YOU WORDPRESS. Anyway, this is what it’s suppose to look like in the code:

        {
        =><=
        YOUR TEXT YOU WANT CENTERED GOES HERE
        }

        Hopefully it shows up properly this time- if it doesn't, I wish you luck!

Leave a Reply