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?
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
Hi
It is in my stylesheet.css in Appearance > Editor ….
Thanks
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.