IOS missing background

2 posts, 1 answers
  1. Answer
    Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 18 Nov 2013 Link to this post

    I'm using the following code to define a custom button background icon:                  
           <style>
                                .km-root .km-pane .km-view .km-logo {
                                    background-image: url(styles/images/icon40.png);
                                    background-size: 100% 100%;
                                }
                            </style>

    For some reason it only works on android. IOS shows a blank button. Any thoughts?

    Also, is there any way to make the icon span the entire button? Or else to set the gray part to transparent?
  2. Michael
    Michael avatar
    151 posts
    Member since:
    Jan 2012

    Posted 19 Nov 2013 Link to this post

    The solution is to just use inline style elements and skip the data-icon attribute altogether.
  3. Kendo UI is VS 2017 Ready
Back to Top