Howdy, Stranger!

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

Image stretches as text box gets longer. How do I stop it? 1.4.2 Sugarcube

If I have a long passage in my textbox that goes on for too long it causes my background image to basically zoom in for some reason. How can I fix this without splitting up passages?

Comments

  • In a stylesheet tagged-passage:
    .what-have-you {
        background-image: [img[what-have-you]];
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-size: contain;
    }
    

    That should work, though you made need to play around with the size and other specifics.
  • That worked. Thank you so much! I messed with that crap for like an hour before I used this to fix it. You probably saved me another hour of trial and error.
  • Which version of SugarCube are you using (eg v1.0.35 or v2.12.2) or did you actually mean Sugarcane.
  • edited February 2017
    greyelf wrote: »
    Which version of SugarCube are you using (eg v1.0.35 or v2.12.2) or did you actually mean Sugarcane.

    Sorry meany Sugarcane, will fix.

    UPDATE: As far as I can tell I can't fix it.
Sign In or Register to comment.