WordPress.org

Ready to get started?Download WordPress

Forums

CSS Style for category & archives (4 posts)

  1. jaqy
    Member
    Posted 9 years ago #

    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?

    Website: http://www.jaqyshome.com/blog/

    Style Sheet: http://www.jaqyshome.com/blog/wp-content/themes/jackie/style.css

  2. jbbrwcky
    Member
    Posted 9 years ago #

    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; }

  3. Michael Bishop

    Posted 9 years ago #

    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.

  4. jaqy
    Member
    Posted 9 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.