WordPress.org

Ready to get started?Download WordPress

Forums

adding bullets to posts only (3 posts)

  1. UmmSahlah
    Member
    Posted 8 years ago #

    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!

  2. Karrde
    Member
    Posted 8 years ago #

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

  3. UmmSahlah
    Member
    Posted 8 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags