Page 1 of 1

Back Button Margin

Posted: Sun Feb 23, 2014 10:43 am
by Doug Black

I'd like to add a margin to the Back Button in mobileheader. What name do I use in the Javascript?


Back Button Margin

Posted: Sun Feb 23, 2014 10:56 am
by Igor

You could implement this using CSS.


Back Button Margin

Posted: Sun Feb 23, 2014 10:59 am
by Doug Black

That's the plan. Just need to know how I name the back button in the JQuery. I know I have this for another:

Appery('mobileheader').css({'margin':'10px 0px 0px 0px'});

How would I name the back button in this code?


Back Button Margin

Posted: Sun Feb 23, 2014 11:44 am
by Igor

Why you don't want to use a simple CSS code?

pre
code
.ui-toolbar-back-btn {
margin:10px 0px 0px 0px!important;
}
/code
/pre


Back Button Margin

Posted: Sun Feb 23, 2014 11:50 am
by Doug Black

That is a much better way, thank you! :)


Back Button Margin

Posted: Sun Aug 03, 2014 12:10 am
by Sean Doherty

I tried a combination of this simple CSS code with another code on the forum to try and make the back button transparent, but it's not working. Could you please help me?

.ui-toolbar-back-btn {
background-color: transparent !important;
border: none !important;
}


Back Button Margin

Posted: Sun Aug 03, 2014 3:20 am
by Alena Prykhodko

Hi Sean,

Your code is fine. And transparency should be applied, but you can not see changes as back button is inside header, that overlays page itself. To see changes you need to change Page background.


Back Button Margin

Posted: Sun Aug 03, 2014 12:48 pm
by Sean Doherty

Hi Alena,

Great, thank you for the quick reply and the helpful answer :-)