Support » Themes and Templates » How to remove the <li> tags

  • Hi all. I’m in the very early stages of developing a website which is including a blog. Consequently I’m trying to get the blog to conform with the website. It’s a learning process for me since I’ve never changed the template so extensively before, but I’m getting there very slowly, one step at a time, even though I’m in the very early stages of that too.

    Basically, for my sidebar, I want to remove the “li” tags so sidebar links do not have the diamond next to it. They are not listed in the template, so I figure it must be doing that automatically in the WordPress code somewhere. I would like to know how to remove it, since it does not conform to my website’s design.

    Thankyou in advance.

Viewing 1 replies (of 1 total)
  • A better way to remove the diamonds would be to change your CSS file rather than removing the <li> tags.

    The way to do this would be to find where the <ul> is in the style.css file.

    It probably looks something like this:

    #sidebar ul
    {
    ...
    }

    If that’s the case, you want to add this:

    #sidebar ul
    {
    ...

    list-style:none;

    ...
    }

    Let me know if that solves the problem…

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove the <li> tags’ is closed to new replies.