annonb (annonb) wrote in s2flexisquares,
annonb
annonb
s2flexisquares

Icon Fonts Trouble

My icon fonts aren't working and I was wondering if it were possible to fix it.

This is my original post at support.

After I upload my CSS, save, then go to my lj, the stylesheet is empty and this is placed in it: /* suspect CSS: backslash hex */

After a few Google searches, I believe this is coming from me putting in special characters in my CSS.

::EXAMPLE::

div.comments a:link::before{
content: "\e90f"; <------- HERE
font-family: 'IcoMoon', 'SofiaPro', Helvetica, Arial, sans-serif;
font-weight: 400;
padding: 2px;
}

I created an icon font and that is the number/code assigned to that character. Everything works fine when I edit the CSS in the browser, but when I actually apply that CSS to my journal the CSS is replaced with /* suspect CSS: backslash hex */. I think that the special character code, like "\e90f" is doing this. So, it's my understanding (though, I don't think I'm understanding well) is that LJ can't read/handle the backslashes in the above code. Is this right? And if so, is there a way around it? Or am I way off base here and /* suspect CSS: backslash hex */ doesn't mean that at all.

Thank you for any help!
Tags: free accounts, stylesheet
Subscribe

  • flexible squares stylesheet to dreamwidth

    Hi! I think how I can add livejournal flexible squares stylesheet to dreamwidth? I see that some people use them there.

  • post title problem

    It seems livejournal made some changes again and I am not happy. Some of my layouts have a journal title. But when you click on an entry the entry…

  • How to stop auto-resize to max-width 100%

    Hi, I've been using this theme for like a life and never had any issue until recently, and here's why I'm here. LJ support said they can do nothing…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 3 comments