Page 1 of 1

toast message font size

Posted: Mon Feb 24, 2014 8:28 am
by pritu patel

I used following code in js file for toast message
I want small font-size in toast message.
I tried using text-size and font-size But it not working.
Is there any solution for change size for toast message???

var toast = function(msg){
$(""+msg+"")
.css({ display: "block",
opacity: 0.90,
position: "fixed",
padding: "7px",
"text-align": "center",
width:"270px",
left: ($(window).width() - 284)/2,
top: $(window).height()/2 })
.appendTo( $.mobile.pageContainer ).delay( 2500 )
.fadeOut( 100, function(){
$(this).remove();
});
};


toast message font size

Posted: Mon Feb 24, 2014 10:07 am
by Maryna Brodina

Hello! Could you clarify where and how did you set font-size? Please post and example. To insert code use < code tag.


toast message font size

Posted: Mon Feb 24, 2014 10:50 am
by pritu patel

in this code font-size not working.I want here code to change font-size.
Image

In this image there is a big font-size so I want to set as small font.
Image


toast message font size

Posted: Mon Feb 24, 2014 10:51 am
by pritu patel

in a toast messaga you can see that there is a very big size font.


toast message font size

Posted: Mon Feb 24, 2014 2:50 pm
by Maryna Brodina

You can add class to h3 tag in code and describe this class in CSS asset or you can add for tag corresponding classes. Instead pre$("<div class='ui-loader ui-overlay-shadow ui-body-a ui-corner-all'><h3>"+msg+"</h3><>")/pre use pre$("<div class='ui-loader ui-overlay-shadow ui-body-a ui-corner-all'><h3 style='font-size:10px'>"+msg+"</h3><>")/pre


toast message font size

Posted: Wed Jan 21, 2015 7:34 pm
by Abhijeet Singh

hey pritu could you please mail be the backup of the app with toast plugin, i've tried and failed to add this functionality before. Please mail it to me at - a href="mailto:abhijeet.bulls23@gmail.com" rel="nofollow"abhijeet.bulls23@gmail.com/a


toast message font size

Posted: Wed Aug 03, 2016 8:17 am
by Martand

Hi Pritu/Maryna/Abhijeet,

Please mail me the backup of toast plugin app as i am not able to find the zip when clicked on backup link. Its pointing back to Appery io docs.
EMail : a href="mailto:martandkulkarni.9999@gmail.com" rel="nofollow"martandkulkarni.9999@gmail.com/a.

Thanks in advance :)