Fonts issue
Rate this topic: 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:
why also sets Arial and Sans-Serif?
See Also attach.
Best Regards.
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.
-
- 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.
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.
-
- 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,
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
but in my opinion should be
however he also added: Arial, sans-serif.
Rgds
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
-
- 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.
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.
-
- 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?
-
- 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
damn Google Chrome cache.
It was the damn cache of Google Chrome that created the incorrect display.
Regards
-
- 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.
Glad it's resolved than. Closing this thread.
-
- Moderator
7 posts
• Page 1 of 1