• Resolved coffeehero

    (@coffeehero)


    I love this plugin. I’ve tried about 5-6 so far and it is the best.

    My only need now is to find out if there is a way for tracks with longer titles to wrap on smaller devices? Right now longer titles gets truncated on mobile. Is there CSS to fix this?

    thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cubecolour

    (@numeeja)

    I dont have any css or other code to change this. You could possibly try applying some simple css to make the font size smaller – in some cases that might enable the full title to fit on a single line, however that would not be effective for a very long title.

    Plugin Author cubecolour

    (@numeeja)

    Update:

    I have had a few thoughts about this, and I believe I have a CSS workaround to allow a multiline title.

    The default whitespace property of the song title is intended to limit the title to a single line, so that will need to be reset to normal, however this results in the second line (& subsequent lines) sitting too far to the left, which can be altered by adding some left padding, and also an indent to the first line to bring the first line back into alignment.

    To try this, add the following CSS rules:

    
    .track .songtitle {
    	white-space: normal;
    	text-indent: -34px;
    	padding-left: 34px;
    }
    
    • This reply was modified 7 years, 11 months ago by cubecolour.
    Thread Starter coffeehero

    (@coffeehero)

    perfect!

    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Longer Track names on Mobile’ is closed to new replies.