trying to use custom bullets on wp_list_pages list items
-
i’m using wp_list_pages in my top nav bar on this site (https://willowbilliards.com/wordpress/) and i want to get rid of the custom diamond image bullet to the left of the first item, “HOMEPAGE”. the php code spits out the list like this:
<ul id="page-list"><li class="page_item page-item-27 current_page_item">HOMEPAGE
<li class="page_item page-item-2">ABOUT US
<li class="page_item page-item-14">CONTACT US
<li class="page_item page-item-12">DIRECTIONS
<li class="page_item page-item-10">EVENTS
<li class="page_item page-item-4">LEAGUES<!-- /page-list -->
so i figured if i want to edit just the first list item to remove the diamond custom bullet image, and i added the following code, that would do it:
ul#page-list li.page-item-27 {font-size:10px; list-style-image: none;}
ul#page-list li.page-item-27 a {font-size:10px; list-style-image: none;}i can tell the code is effecting the correct list item because the font size shrinks to 10 on just that heading. but how come the custom diamond image bullet doesnt go away???
- The topic ‘trying to use custom bullets on wp_list_pages list items’ is closed to new replies.