I'd like to add a margin to the Back Button in mobileheader. What name do I use in the Javascript?
I'd like to add a margin to the Back Button in mobileheader. What name do I use in the Javascript?
You could implement this using CSS.
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?
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
That is a much better way, thank you!
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;
}
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.
Hi Alena,
Great, thank you for the quick reply and the helpful answer