• Resolved randaloulton

    (@randaloulton)


    using title_li.

    [siblings title_li=”<h2>Related entries</h2>” exclude=”current”]

    Puts title inside a bullet list. Creates funky code like this.

    
    <ul class="page-list siblings-page-list ">
    <li class="pagenav"><h2>Related entries</h2>
    <ul>
    <li class="page_item page-item-29584"><a href="https://www.cooksinfo.com/bandon-vale-cheddar-cheese">Bandon Vale Cheddar Cheese</a></li>
    <li class="page_item page-item-29585"><a href="https://www.cooksinfo.com/canadian-cheddar-cheese">Canadian Cheddar Cheese</a></li>
    </ul></li>
    </ul>
    

    I’m gonna try to get rid of the H2 inside a bullet point using css, so just fyi.

    • This topic was modified 4 years, 6 months ago by randaloulton.
Viewing 1 replies (of 1 total)
  • Thread Starter randaloulton

    (@randaloulton)

    For anyone else looking, here is the css i used to get rid of the bullet point on the title.

    .pagenav {
    list-style-type: none;
    margin-left: 1em;	
    }
Viewing 1 replies (of 1 total)
  • The topic ‘title_li appearing inside bullet list’ is closed to new replies.