Google fonts

Permalink Browser Info Environment
Hi there,
I have been trying to add fonts to the fonts dropt down menu, I have modify these three files but it is still not working

/css/styles.xml
<style name="Font15" variable="font15" type="type" />


fonts/defaults.less:
@import url(//fonts.googleapis.com/css?family=Open+Sans|Slabo+27px|Lora|Poiret+One|Lobster|Playfair+Display|Pacifico|Crimson+Text|Oswald|Droid+Sans|Nunito|Fredoka+One|Bree+Serif);


presets/defaults.less:
@font15-type-font-family: ~"'Bree Serif', serif";


Any help?
Thank you,
V.

Type: Discussion
Status: In Progress
byvictoria
View Replies:
c5box replied on at Permalink Reply
c5box
Hi V,

Looks about right. Probably a caching issue? Can you try disabling cache, clearing it, then do a hard refresh?

James
byvictoria replied on at Permalink Reply
byvictoria
Thank you James, I ll keep trying...
pixeljunkie replied on at Permalink Reply
pixeljunkie
Hi James - I am having the same issue. Just bought a new licence of the theme. Now trying to add a new font the way depicted above, but the font is not showing in the list. Above that, when assigning Slabo, the font does not show. I have disabled and cleared the cache ...

Any idea?

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.2
Version Installed - 8.5.2
Database Version - 20190925072210

# Database Information
Version: 10.3.21-MariaDB
SQL Mode:

# concrete5 Packages
Framework Theme (1.7.7), HTML+PHP Code Block (1.0.2)

# concrete5 Overrides
blocks/page_list/templates/RDP/view.php, blocks/page_list/templates/RDP, blocks/page_list/templates, blocks/page_list

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

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.2.26

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_sqlite, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SourceGuardian, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 180
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 150
max_input_vars - 6000
memory_limit - 512M
post_max_size - 64M
upload_max_filesize - 80M
ic24.api.max_timeout - 7
ldap.max_links - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 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.