Unable to apply list-style-image

后端 未结 1 882
抹茶落季
抹茶落季 2021-01-28 05:08

I\'m not able to apply list-style-image to all the UL lists in this page: http://bit.ly/1nu8rlL

It seems list-style-image:none in another CSS file on the Drupal site is

相关标签:
1条回答
  • 2021-01-28 05:37

    The CSS should look like this

    #irctc-authorized-agent #irctc-list-1, 
    #irctc-authorized-agent #irctc-list-3,
    #irctc-authorized-agent #irctc-list-4,
    #irctc-authorized-agent #irctc-list-5 {    
        list-style-image: url(http://www.utilitiesindia.com/sites/default/files/flower-bullet.png);
        }
    

    but it's being over-ridden by

    ul li,
    ul.menu li, 
    .item-list ul li,
    li.leaf {
        padding: 0 0 .2em 1.5em;
        list-style-type: none;
        list-style-image: none; /* here */ 
        background: transparent url(menu-leaf.gif) no-repeat 1px .35em;
    }
    
    0 讨论(0)
提交回复
热议问题