Fonts issue

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
Tue Nov 08, 2016 3:12 pm
Reply with quote
Report this post
Hi,
I'm trying to change the font for headers, but I think something's wrong.
The source page shows me this:
Code: Select all
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,300,600" rel="stylesheet" type="text/css" />
   <link href="//fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet" type="text/css" />
   <style type="text/css">
.childcontent .gkcol { width: 220px; }

body,
html,
body button,
body input,
body select,
body textarea,
.bigtitle .header,
h3,h4,h5,h6,
.gkMenu ul li,
.box.menu,
.gkTabsWrap ol li { font-family: 'Open Sans', Arial, sans-serif; }

#gkLogo.text,
.gkIsWrapper-gk_creativity .figcaption h2,
h1,
h2 { font-family: 'Roboto Slab, serif', Arial, sans-serif }

why also sets Arial and Sans-Serif?
See Also attach.
bluap.JPG

Best Regards.
User avatar
Expert Boarder

teitbite
Sat Nov 12, 2016 10:49 am
Reply with quote
Report this post
Hi

I'm afraid I do not understand Your question. In CSS You can specify which font to use and in case some font cannot be loaded it takes next from the list.
User avatar
Moderator

GK User
Mon Nov 14, 2016 7:02 pm
Reply with quote
Report this post
Hi,
I configured the template from Template -> Edit Style -> Fonts. See Attachment,
bluap.JPG

I set Headers font with this character: http://fonts.googleapis.com/css?family=Roboto+Slab:700
inserting h1 and h2 in the textarea: Headers - selectors.
but the end result shows me, into the source of the front end
Code: Select all
h1,
h2 { font-family: 'Roboto Slab, serif', Arial, sans-serif }

but in my opinion should be
Code: Select all
h1,
h2 { font-family: 'Roboto Slab, serif' }

however he also added: Arial, sans-serif.
Rgds
User avatar
Expert Boarder

teitbite
Wed Nov 16, 2016 11:53 am
Reply with quote
Report this post
Hi

It's not a wrong code. It's kind of a standard action to define second language in case there will be no connection to google fonts. It may not happen ever that this font will need to be used, but it's a standard to have it defined just in case.
User avatar
Moderator

GK User
Wed Nov 16, 2016 12:09 pm
Reply with quote
Report this post
teitbite wrote:Hi

It's not a wrong code. It's kind of a standard action to define second language in case there will be no connection to google fonts. It may not happen ever that this font will need to be used, but it's a standard to have it defined just in case.

Hi,
Where should I set not to use Arial or Sans-Serif fonts as a secondary, but to use at least one type of Serif fonts?
User avatar
Expert Boarder

GK User
Thu Nov 17, 2016 12:38 pm
Reply with quote
Report this post
Aaaaargghhhhhhhh
damn Google Chrome cache.
It was the damn cache of Google Chrome that created the incorrect display.
Regards
User avatar
Expert Boarder

teitbite
Tue Nov 22, 2016 2:11 pm
Reply with quote
Report this post
Hi

Glad it's resolved than. Closing this thread.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.