This is a migrated thread and some comments may be shown as answers.

listview after set background image how to make every item background tranparent

1 Answer 84 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
ai
Top achievements
Rank 1
ai asked on 26 Jun 2013, 08:14 AM
listview 
<div data-role="view" data-title="objlist">
    <ul data-role="listview" id="uidListView" data-click="uidClickItem"></ul>
</div>
css:
.km-ios .km-content{
    background-image: url("../images/bg.png");
    background-repeat:repeat-x;
}

use template below to insert listview
<script type="text/x-kendo-template" id="uidTemplate"># for (var i = 0; i < data.length; i++) { #
    <li class="userlist" val=${i}>
            <a>
                  <span class="username">#:data[i].name#</span>
                  <span class="userorg">#:data[i].orgName#</span>
                  <span class="userpos">#:data[i].position#</span>
            </a>
            <span class="km-icon km-cancel uidicon"></span>
    </li>
    # } #
</script>
 how to make every li  item  in  listview   background tranparent ,that is ,user can see the km-content background-image

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 28 Jun 2013, 06:55 AM
Hello,

Please take a look at the following article which provides a starting point for customizing widget appearance.  You can use the web inspector tool of your browser to identify the selectors which have to be override.

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
ai
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or