Support » Themes and Templates » CSS Style for category & archives

  • Hello.

    I had my theme re-done, again, to be more “wp friendly”. Only problem is now that instead of a span li {list-style: none;} tag I have a li {list-style: none;} tag, so not only does it knock out the bullets in the categories and archives, like I want it to, but it knocks it out of my rumwall guestbook as well.

    I DONT want to remove the numbers from my guestbook, how can I change the css to only remove the bullets from the category and archives sections?


    Style Sheet:

Viewing 3 replies - 1 through 3 (of 3 total)
  • Well I think if you use numbers in lists, it would be
    <ol> and if you were thinking of bullets you’d be using
    <ul> so a solution would be:

    ul li { list-style-type: none; }

    Note you can specify any div list differently than the overall style, that is, if your style is li { list-style: none}
    and you have a div of, let’s say, guestbook you can have
    #guestbook li {list-style: bullet}
    and so on, even classes can have different styling, so a class of post would be something like .post li {list-style: bullet}, thereby giving post lists bullets, but everything else none.

    Hope that points you in the right direction, if not, check back, and I can give some links to styling w/ lists.

    Using ul li {list-style: none} worked perfectly! Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS Style for category & archives’ is closed to new replies.