Adrian Stoch
Posts: 0
Joined: Thu Jul 31, 2014 3:09 pm

Resize back button with no text

I have a back button in my header with no text. How can I resize the image space to fit the icon when there is no text? I can see how to do this with icons in buttons, but there is no "notext" option for the back button in the header.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Resize back button with no text

Hello Adrian,

You may call this code on event load for the page with a button :
pre$("[data-rel=back]").removeClass("ui-btn-icon-left").addClass("ui-btn-icon-notext");/pre

Adrian Stoch
Posts: 0
Joined: Thu Jul 31, 2014 3:09 pm

Resize back button with no text

Thanks Evgene. Works perfectly.

Return to “Issues”