Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #229965

    How can I use an icon font (then Entypo checkmark for example) in an unordered list, wherein the items would be automatically indented.

    I’ve been currently pulling this off using shortcodes, but it’s a pain. I was thinking maybe a pseudo class could work, but I’m not sure how to specify the icon as the before content. Thanks for any help!

    #229978

    Hey!

    Try adding this code to the Quick CSS:

    .content ul li {
        list-style: none !important;
    }
    .content ul{
        padding: 0 !important;
    }
    .content ul li:before {
        content: "\2713";
        font-family: "entypo";
        margin-right: 5px;
    }
    

    If you want to use another icon, refer to this character map:
    http://www.entypo.com/characters/

    Cheers!
    Josue

    #289426

    Hi!

    I was looking for the same solution, so I used the code as well and styled it a little bit more:

    .content ul li:before {
    content: “\2713”;
    font-family: “entypo”;
    font-size: 2em;
    line-height: 1;
    margin-right: 10px;
    color: #94BD26;
    }

    All perfect, but then I scrolled down in my post and I saw this: https://dl.dropboxusercontent.com/u/13613026/List_SoMe_Icon.png

    Somewhere, something went wrong and I have no idea where!

    Can you help me?

    Sincerely,
    Morticka

    #289462

    Hi!

    Can you post the link to your page where we can see an example?

    Regards,
    Yigit

    #289565
    This reply has been marked as private.
    #289752

    Hi!

    Try adding this too:

    .av-share-box li:before {
        content: "" !important;
        position: absolute !important;
    }

    Cheers!
    Josue

    #290001
    This reply has been marked as private.
    #290613

    Hi!

    The syntax is just a bit off:

    
    .av-share-box li:before {
    content: '' !important;
    position: absolute !important;
    }
    

    Regards,
    Devin

    #290762
    This reply has been marked as private.
    #292569

    Hi!

    I’m not sure if I understand the problem but I think you want to remove the dash – ( & #8211; ) from the Tweet content? Keeping the dash directly is not possible because it’s not a valid url charachter and thus Enfold converts it to an entity which is & #8211;. You can try to use a minus ( – ) instead or replace the dash with another character.

    Regards,
    Peter

    #292908
    This reply has been marked as private.
Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Use Icon Font For Unordered List’ is closed to new replies.