What is the limit for jQuery mobile titles? How many characters? How do we change this limit? Working with jQuery mobile. Thanks.
You can override the left & right margins on the .ui-title class to give yourself some more space, but be careful because the margins are used to make sure the text doesn't interfere with any left & right buttons you have in the header.
.ui-header .ui-title { margin-left: 1em; margin-right: 1em; }
You might also get a bit more space using clip rather than elipsis:
.ui-header .ui-title { text-overflow: clip; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With