I need help with making a list with images

  • Author
    Posts
  • #129154

    claudecf
    Member

    I have two blogs, http://blogginginparis.wordpress.com in which I used the Rubric theme, where I managed to have a list with the image of an arrow in the sidebar,
    and when I try to do the same at my other blog, http://vieuxcestmieux.wordpress.com, with the K2 theme, it won’t work.
    I am not good at CSS at all and really need the help.
    I have purchased a CSS supplement for both blogs.
    Thanks in advance

    #129402

    devblog
    Member

    Do you want every item on the side bar to have an arrow or just a specific group (like you have it on your ‘bloggininparis’ blog)?

    #129464

    claudecf
    Member

    devlog, just a specific group.
    What I did in blogginginparis, on the advice of http://mandarindesign.com was to add this to the stylesheet

    ol.arrow {
    list-style:square url('http://blogginginparis.files.wordpress.com/2007/07/fatarrow.png');
    }

    Then on a post, or in the sidebar, all I have to do is type
    <ol class="arrow"><li>1st item</li> etc. to get my list with arrows.
    I tried this in vieuxcestmieux, it used to work on wordpress.org, but not any longer here on wordpress.com
    Now when I do this, I get an ordered list with numbers.

    I guess it has to do with the template, which I wouldn’t like to change because I like the rest of it.

    #129530

    devblog
    Member

    Your CSS class definition won’t work because you’re applying your style to an ordered list. For your arrows to show up, you need to apply your style to an unordered list. Use the

      tag instead.

    HTH

    #129531

    timethief
    Member

    @devblog
    Do you mean <ul> and </ul> tags?

    #129532

    timethief
    Member

    deleted duplicate

    #129542

    claudecf
    Member

    Thanks, devlog and timethief! It’s working! It had occured to me but the weird part though, is why it’s working on http://blogginginparis.com
    I won’t touch it, though. Don’t fix it if it ain’t broke ;)

    #129550

    devblog
    Member

    TT,

    Yes, that’s right… I didn’t realize that the freaking tags were rendered. Thanks! :D

    Claudecf,

    Glad it worked :)

    #129552

    timethief
    Member

    @devblog
    No problem – I caught it. ;)

The topic ‘I need help with making a list with images’ is closed to new replies.