Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Restart and Save options in the Sidebar

Hello!

I'm working with Sugarcube 2.18, and I've been trying to work on the style of my sidebar, but I've come across some obstacles.
First of all, is it possible to remove the options of "Restart" and "Save" from the sidebar, without compromising any other information displayed there?

Also, is it possible to make the sidebar's background color transparent? So, if I had a background image for each passage, the text in the sidebar would just appear over it...

Sorry if these are stupid questions, I'm kind of new at this.
Thanks! :)

Comments

  • You will have to go to your css stylesheet and enter:
    #menu-core {
      display:none;
    }
    

    To make the ui-bar transparent, you enter also into the stylesheet:
    #ui-bar {
      	background-color: rgba(0, 0, 0, 0);
    }
    
  • Uau, it works perfectly!! Thanks, that's the second time you've come to my rescue :blush:
  • @idling Do you think maybe you can help me with something else? If it's not a bother?
    I changed my sidebar's width, and now there's a large space between the text and the edge of the sidebar. I wanted to make it smaller, but I don't know how...
    Thanks
  • You do that with
    #story {
    	margin-left: 7em;
    }
    

    Just adjust the left margin to fit the ui-bars new width.
  • God! You're a life saver! Thank you so much!
  • @Jajajewels:

    Two sections of the SugarCube 2.x documentation that can help you with questions like this one are the:

    a. HTML section, which describes the base structure of the page it generates including the ID's and classes of all the elements.

    b. CSS section, which describes all the base CSS used to style the page and other elements.
  • @greyelf
    Thanks for linking those. I don't have a lot of experience with coding, and I've just started messing with Twine, but I'll have a look at these! I'm always up for some learning! :)
Sign In or Register to comment.