Google font and print

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Apr 21, 2014 9:41 pm
Reply with quote
Report this post
Hallo,
I have successfully for a selector (h6) a google font.
If I want print the page, the font is not showing.
I found the css print.css and put in there:

h6 {
margin: 0;
padding: 0;
color: red;
font-family: 'Euphoria Script', 'cursive';
font-weight: 300;
line-height: 40px;
}

But with no success.
In the header of the main page I can see:
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Euphoria+Script" type="text/css" />

But in the header of the print-page this is not there.
So where can I put the line in?

Thanks in advance

Ralf
User avatar
Fresh Boarder

GK User
Tue Apr 22, 2014 9:24 am
Reply with quote
Report this post
Print page is a totally different view and it is specified in print.php file. This view don't support custom fonts etc., so if you want to add them you need to include script in this file but I'm not sure whether it will work because usually for print view part of HTML structure may be cut.
User avatar
Platinum Boarder


cron