Tagged: , ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #560073

    Hi

    I am using fontello icons for my bullet lists.

    I am required to have a \ backslash in front of the E number to get them to work but when I save the css the backslash gets deleted.

    ul.list  {
        list-style-type: none !important;
        list-style: none !important;
        position: relative;
        display: block;
        left: 0;
        list-style-position: outside;
        width: 100%;
        padding-bottom: 0;
    }
    
    .list li {
        list-style-type: none !important;
        list-style: none !important;
        position: relative;
        padding-left: 10px;
        margin-bottom: 10px;
    }
    
    .list li:before {
        position: absolute;
        top: 3px;
        left: -15px;
        background-color: #FFFFFF;    
        font-family: 'fontello';    
        content: "\E822"; /* Important the backslash must be present before the E822 */
        font-size: 18px;
        color: #007ab6;
    }

    Do you know why it will all of a sudden started to delete the \ on save?

    #560331

    Hi richardelectrix!

    Thank you for using Enfold.

    Where did you add the css code? In a text block? Please add it in the Quick CSS field.

    Cheers!
    Ismael

    #560381

    Hi

    It is in my stylesheet.css in Appearance > Editor ….

    Thanks

    #560382

    I have found if I use double backslash \\ it will save and everything will work but it strips out the first backslash, so the next time I save it breaks the css.

    #560984

    Hi!

    I added the code in my style.css file and the editor didn’t remove the backlash. Maybe it’s a plugin in your end that’s causing this issue. Please deactivate all plugins then test it again.

    Best regards,
    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.