Where can I add my own Google Fonts in?

Permalink Browser Info Environment
I'm probably completely missing where it is but I can't seem to figure out where in the world to add more Google Font options into the theme without editing core theme files which is an undesirable option.

Type: Ticket
Status: Archived
vGibson
View Replies:
vGibson replied on at Permalink Reply
vGibson
And as quickly as I ask I think I found it. Under page attributes... I was looking in theme customization. Is there any way to add the fonts I want to use to the Theme Customization drop down for each font in case I want to use different fonts for each heading style?
jordif replied on at Permalink Reply
jordif
Hi,

Unfortunately, the theme customizer does not allow to add new fonts to the dropdowns.

That's why the theme uses Page Attributes to select a google font for the headings and a google font for the body text.

If you need to use different fonts for each heading style, you could try the following:

Let's say you want to use "Oswald" for "Heading 3".

1. Go to Google Fonts, select the font you want to use and click on the Quick Use button. In steps 1 and 2, change the settings if necessary. In step 3 ("Add this code to your website"), select the second tab (@import) and copy the code to the clipboard.

2. Go to your concrete5 webiste. In the theme customizer, under "Advanced", you'll find the "Custom CSS" option. Click on it and paste the code there. Then add a CSS rule to use the font for the heading style you want. The complete code to use "Oswald" for "Heading 3" should look like this:

@import url(http://fonts.googleapis.com/css?family=Oswald);
h3 {
    font-family: 'Oswald';
}


Hope this helps,

Jordi
vGibson replied on at Permalink Reply
vGibson
sounds good... TBH I had not got a chance to mess with 5.7 much yet and I was not sure I was not missing something simple... This is simple enough though... :) thanks
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.
AthanD replied on at Permalink Reply
AthanD
Hi Jordi,

Again sorry for all the questions. I have copied and pasted the above code into custom CSS on a page on my site but when I click save I always get a 403 error message from lightspeed technologies and it won't let me continue until I delete the pasted code...

help?
jordif replied on at Permalink Reply
jordif
Hi!

A couple things you can try:

1) Make sure the first line (the one beginning with @import) is at the top of the custom CSS area. Also try changing http to https:

@import url('https://fonts.googleapis.com/css?family=Oswald');


2) If that does not work, you can try pasting the following line in the header.php file of the theme (within the <head> section):

<link href="https://fonts.googleapis.com/css?family=Oswald" rel="stylesheet">


If A or B do not work, you can try contacting your hosting provider and report the issue.
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.3
Version Installed - 5.7.3
Database Version - 20141219000000

# concrete5 Packages
Long Story Short (0.9.6), Touch Gallery (2.0.3).

# concrete5 Overrides
languages/da_DK, languages/de_DE, languages/el_GR, languages/fi_FI, languages/fr_FR, languages/it_IT, languages/ja_JP, languages/nl_NL, languages/ru_RU, languages/sl_SI, languages/sv_SE, languages/tr_TR

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.0.64 (Unix) mod_ssl/2.0.64 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_fcgid/2.3.6

# Server API
cgi-fcgi

# PHP Version
5.3.27

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 128M
post_max_size - 11M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 20M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.