Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2015-07-25 23:28:38

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Can't use custom Font Face font with LH CSS styling engine

Hello,

Before this last upgrade I could use custom font face fonts by entering a custom CSS info in
'Edit - Widget themes >> Custom CSS >> Widget body additional CSS, takes effect after save' area.

But now, it's just "jump" over the font face info and continue to the next font stated as 'font-family'.

Have I missed something?

I'm using LH hosted version.

Please let me know.

Cheers.

Last edited by livehseaker (2015-07-25 23:32:27)

Offline

#2 2015-07-26 05:08:30

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

Sorry, i do not understand what exact the issue is...
Can you paste here as code what CSS rule you are pasting?

Offline

#3 2015-07-26 13:14:51

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

Sure.

In previous version, before the last upgrade, I was using following code snippet and it worked:

body {font-family: "PT Sans","Arial Narrow","Arial Black",Arial,Helvetica,sans-serif;}

Now it just "jumps" over "PT Sans" and use "Arial Narrow" instead.

PT Sans is loaded by web site styling.

Cheers.

Last edited by livehseaker (2015-07-26 13:15:44)

Offline

#4 2015-07-30 22:06:43

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

remdex wrote:

Sorry, i do not understand what exact the issue is...
Can you paste here as code what CSS rule you are pasting?

remdex, seen my previous post?

Offline

#5 2015-07-31 04:48:45

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

I did, what you told, and no problems there.

Offline

#6 2015-07-31 16:56:08

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

remdex wrote:

I did, what you told, and no problems there.

OK, any suggestion(s) on what I can or should try?

Its a bit difficult when I do not have access to files as I'm using hosted version.

Offline

#7 2015-07-31 18:31:05

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

Can you write to my e-mail where you have embeded your widget code?

Offline

#8 2015-08-01 16:07:02

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

remdex wrote:

Can you write to my e-mail where you have embeded your widget code?

Sent smile

Offline

#9 2015-08-03 04:41:35

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

Hi,
I have not received any mail hmm...

Offline

#10 2015-08-03 05:08:37

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

remdex wrote:

Hi,
I have not received any mail hmm...

I've sent to your r*******.com

Is that correct email address or do you want me to send to another one?

Offline

#11 2015-08-03 05:52:28

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

Just send another one to ***.com

Offline

#12 2015-08-03 17:43:13

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

I've sent second time to your ***.com email.

Please check that you are not blocking ***.com addresses.

Cheers.

Offline

#13 2015-08-03 18:24:55

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

I received mail. And LHC has nothing to do with your server.
Your server is blocking request to font, because of different domain.

Offline

#14 2015-08-03 18:36:34

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

remdex wrote:

I received mail. And LHC has nothing to do with your server.
Your server is blocking request to font, because of different domain.

I've added that FontFace code just as an example for you.

In previous version of LHC, it was enough just to use the following CSS line:

body {font-family: "PT Sans","Arial Narrow","Arial Black",Arial,Helvetica,sans-serif;}

That because that font is already loading by a host page.

So do you have a suggestion or solution?

Does that means that we can not use FontFace or custom fonts with LHC?

Please let me know.

Thanks for helping me out.

Cheers.

Offline

#15 2015-08-03 18:38:05

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Can't use custom Font Face font with LH CSS styling engine

As you saw in screenshot your server is blocking it not LHC. As I imagine you should add some headers to your apache config to provide headers required by browser. Anyway not my field of knowledge

Offline

#16 2015-08-03 18:48:51

livehseaker
Member
Registered: 2015-02-24
Posts: 35

Re: Can't use custom Font Face font with LH CSS styling engine

OK, thanks.  big_smile   cool

Offline

Board footer