WordPress.org

Support

Support » Themes and Templates » adding bullets to posts only

adding bullets to posts only

  • Hi,
    I use the kiwi theme and i added this for the ul at the end
    ul {
    list-style-type: none;
    }

    li{
    background: url(images/greenarrow.gif)left center no-repeat;
    padding-left: 15px;
    margin-bottom: 10px;
    }
    This was in order to have a bullet as an image represent my unordered list inside the post only. BUT the bullet is showing everywhere including the sidebar, the header menu, the categories etc.If i remove it then i get no bullets inside the post either.
    Is there a way to asign the ul tag only to the posts??

    please help

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Assuming that the posts are contained within a div with the class “post” (if not, modify to suit):

    Change the ul { and li { lines to .post ul { and .post li {.

    Thank you soo much for the help I just found the tag for the post used in the template, it is ‘entry’. I had one more question not really related to this..whenever I change my style.css file the chnages don’t take affect immediately and after a couple of days I see the changes on the website that I made. I already tried clearing the cache and cookies etc. but it still doesn’t work. If you have any idea what the problem is please help. it’s just annoying to keep changing the code and not knowing if you entered it right ’cause it just wouldn’t show up until some days after.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘adding bullets to posts only’ is closed to new replies.