Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] add google font
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: [SOLVED] add google font

[SOLVED] add google font 11 years, 1 month ago #12551

How can I add another google font (with greek characters)? e.g. Roboto Condensed
I tried to add it to "typography" section in back with no luck.
And in this case, in front page settings of YT framework, i have to set "google fonts" to "no"?
The topic has been locked.

Re: add google font 11 years, 1 month ago #12565

Dear Harris Dimoliatis,

- Please go to Template Manager, in Typography tab, type in the box of Google Font-family : e.g. Roboto Condensed

- And in this case, in front page settings of YT framework: Then please open the cpanel.php files on folder: yoursite\templates\sj_jare25\includes, find the code:

$googleFont = array(
										'None'=>'none',
										'Petit Formal Script'=>'Petit Formal Script',
										'Old Standard TT'=>'Old Standard TT:400italic',
										'Anton'=>'Anton',
										'Open Sans'=>'Open Sans',
										'BenchNine'=>'BenchNine',
										'Droid Sans'=>'Droid Sans',
										'Droid Serif'=>'Droid Serif',
										'PT Sans'=>'PT Sans',
										'Vollkorn'=>'Vollkorn',
										'Ubuntu'=>'Ubuntu',
										'Neucha'=>'Neucha',
										'Cuprum'=>'Cuprum',
										'Archivo Narrow'=>'Archivo Narrow'
							);
							?>


replace:

$googleFont = array(
										'None'=>'none',
										'Roboto Condensed'=>'Roboto Condensed',
										'Petit Formal Script'=>'Petit Formal Script',
										'Old Standard TT'=>'Old Standard TT:400italic',
										'Anton'=>'Anton',
										'Open Sans'=>'Open Sans',
										'BenchNine'=>'BenchNine',
										'Droid Sans'=>'Droid Sans',
										'Droid Serif'=>'Droid Serif',
										'PT Sans'=>'PT Sans',
										'Vollkorn'=>'Vollkorn',
										'Ubuntu'=>'Ubuntu',
										'Neucha'=>'Neucha',
										'Cuprum'=>'Cuprum',
										'Archivo Narrow'=>'Archivo Narrow'
							);
							?>


Thanks!
The topic has been locked.

Re: add google font 11 years, 1 month ago #12585

Roboto font is present now in YT cpanel. But no greek characters in front page. Latin is OK
The topic has been locked.

Re: add google font 11 years, 1 month ago #12743

Dear Harris Dimoliatis,

- Please go to Template Manager, in Typography tab, type in the box of Google Font-family : e.g. Roboto+Condensed&subset=latin,greek-ext,greek then save.

- And in this case, in front page settings of YT framework: Then please open the cpanel.php files on folder: yoursite\templates\sj_jare25\includes, find the code:

$googleFont = array(
										'None'=>'none',
										'Petit Formal Script'=>'Petit Formal Script',
										'Old Standard TT'=>'Old Standard TT:400italic',
										'Anton'=>'Anton',
										'Open Sans'=>'Open Sans',
										'BenchNine'=>'BenchNine',
										'Droid Sans'=>'Droid Sans',
										'Droid Serif'=>'Droid Serif',
										'PT Sans'=>'PT Sans',
										'Vollkorn'=>'Vollkorn',
										'Ubuntu'=>'Ubuntu',
										'Neucha'=>'Neucha',
										'Cuprum'=>'Cuprum',
										'Archivo Narrow'=>'Archivo Narrow'
							);


=>

$googleFont = array(
										'None'=>'none',
										'Petit Formal Script'=>'Petit Formal Script',
										'Roboto Condensed'=>'Roboto+Condensed&subset=latin,greek-ext,greek',
										'Old Standard TT'=>'Old Standard TT:400italic',
										'Anton'=>'Anton',
										'Open Sans'=>'Open Sans',
										'BenchNine'=>'BenchNine',
										'Droid Sans'=>'Droid Sans',
										'Droid Serif'=>'Droid Serif',
										'PT Sans'=>'PT Sans',
										'Vollkorn'=>'Vollkorn',
										'Ubuntu'=>'Ubuntu',
										'Neucha'=>'Neucha',
										'Cuprum'=>'Cuprum',
										'Archivo Narrow'=>'Archivo Narrow'
							);


Thanks!
The topic has been locked.

Re: add google font 11 years, 1 month ago #12784

Sorry. No Luck. Font is not even loaded and cpanel does not "hold" the font setting. Turns to "none"
The topic has been locked.

Re: add google font 11 years, 1 month ago #12865

But no greek characters in front page.


Dear harris Dimoliatis,

We fixed in templates\sj_jare25\includes\bottom.php

$doc->addStyleSheet('http://fonts.googleapis.com/css?family='.str_replace(" ","+",$googleWebFont).'');


=>

$doc->addStyleSheet('http://fonts.googleapis.com/css?family='.str_replace(" ","+",$googleWebFont).'&subset=greek,greek-ext'.' ');


Please check the frontpage in Greek characters. If you have any problems, don't hesitate to contact us.

Thanks!
The topic has been locked.
The following user(s) said Thank You: hardi
  • Page:
  • 1
  • 2
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes