Forums

How to remove the <li> tags (2 posts)

  1. pwagora
    Member
    Posted 5 years ago #

    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.

  2. David Yeiser
    Member
    Posted 5 years ago #

    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...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags