Goolge Font

Permalink Browser Info Environment
Hi, Thank you for such a great theme. I really like it and it was easy to use!!!

A little 'but'...I couldn't find out how to use google fonts. Maybe I missed something. A short information would be great.

Thanks
Bridget

Type: Ticket
Status: Archived
BridgetB
View Replies:
1976Ltd replied on at Permalink Reply
1976Ltd
Hi Bridget,

The theme uses the google webfont, Lato. You can change the font to a standard web safe font by going to Page Settings (click the cog icon), Design, Customize, Main Font.

If you want to add your own Google webfont there's no way to add it to the dropdown list in Concrete5.7 without going into the theme templates. However you can add custom css at the bottom of the theme customizer.

So if for instance you wanted to add Roboto the method would be:

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 website. 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 html body tag. The complete code to use "Roboto" would look like this:

@import url(http://fonts.googleapis.com/css?family=Roboto);
body {
    font-family: 'Roboto'!important;
}


Regards,

Gareth
BridgetB replied on at Permalink Reply
BridgetB
Hi Gareth,

That was fast :-) . O.K. I'll try it and will see....

Thanks again
Bridget



On 15-04-20 06:41 PM, concrete5 Community wrote:
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.1
Version Installed - 5.7.3.1
Database Version - 20150109000000

# concrete5 Packages
Hi-Vis (0.9.2), Thumb Gallery (1.0.3), Vivid Carousel (1.0.1).

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

# 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.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.4.39

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, sockets, SPL, sqlite3, standard, tidy, 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 - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 128M
sql.safe_mode - Off
upload_max_filesize - 128M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0

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.