WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Double Arrow (») bullets (7 posts)

  1. boba899
    Member
    Posted 5 years ago #

    I'm trying to incorporate these bullets in to a theme of my own, but I cannot find the code any where in the default theme. Sidebar.php has nothing (no » at all), and nothing in the css. How is it done?

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Look for & #187 (without the space between & and #).

  3. boba899
    Member
    Posted 5 years ago #

    Only three instances, all next to the word comment, so no.

    Stumped on this one :/

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    If you're trying to use » as a list bullet, the only way to do this cross-browser is to create a graphic, upload the graphic to the theme's images folder and then use:

    #sidebar li {list-style-image:url(images/name_of_file)

    in your CSS.

    You could also try using the pseudo-class content:before to achieve a similar effect in some browsers (e.g. Firefox):

    #sidebar li {list-style:none;}
    #sidebar li:before {content:"& #187;"}

    [again - remove the space between & and #]

    but it won't work in IE.

  5. boba899
    Member
    Posted 5 years ago #

    Ah yes, that works quite well indeed. Using that then, thanks for the tip!

  6. reign7
    Member
    Posted 4 years ago #

    Where the heck does wordpress have the double arrow for listed items in it's default theme. It isn't a style - it's nowhere in the style.css. Can someone help??

  7. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    style.css:

    .entry ul li:before, #sidebar ul ul li:before {
    	content: "0BB 020";
    	}

    comment: the editor here is killing the real style -
    forget the line with 'content', it is actually 'backslash zero zero B B' and 'backslash zero zero two zero' - but it is corrupted here; look for '.entry ul li:before, ....'

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.