Page 1 of 1

Export APK with CSS problems

Posted: Fri Jun 24, 2016 4:51 am
by Agustin Gosende

Hi, I create a Custom CSS file and a Custom Theme (only for Fonts). And The App works on Browser preview, App Tester, but when I export an APK an install on device some Clasess are not included and the app looks without design. It happens on H1, Header and mostly on background image in radio button. Here the link to see the app.

The CSS I use for the radio buttons is:

[dsid=radiogirasol] .ui-radio-off{
background-image: url('../img/girasoloff.png') !Important;
background-repeat: no-repeat !Important;
background-color: #f1f1f1 !Important;
border:none !important;
}
[dsid=radiogirasol] .ui-radio-on{
background-image: url('../img/girasolon.png') !Important;
background-repeat: no-repeat !Important;
background-color: #0cac7e !Important;
border:none !important;
}

Attached screen shoot with exported APK. Image Image

Image

Any Idea o guide to solve this. Thanks!

Image


Export APK with CSS problems

Posted: Fri Jun 24, 2016 9:15 am
by Serhii Kulibaba

Hello Agustin,

Please use pre!important/pre instead of pre!Iimportant/pre (only lower case) to fix that problem


Export APK with CSS problems

Posted: Fri Jun 24, 2016 11:27 am
by Agustin Gosende

It Works!! Thanks!!