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

install new font ( not google fonts)
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: install new font ( not google fonts)

install new font ( not google fonts) 11 years, 3 months ago #6565

Dear Smartaddons

how to add a new web fonts other than google fonts
(Arabic fonts)
thank you

Re: install new font ( not google fonts) 11 years, 3 months ago #6584

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Mehdi Allani,

You can disable the google fonts firstly and choose other font in the template configuration (see the attached image).

Thanks
Attachments:
Ticket System | Join our Clubs to download our extensions and templates

Re: install new font ( not google fonts) 11 years, 3 months ago #6590

Dear smartaddon,

the font-family does not exist in the default font-family.
I need to install a new font-family: "hacen_tunisia".
thanks

Re: install new font ( not google fonts) 11 years, 3 months ago #6593

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Mehdi Allani,

Please do the following steps:

+ go to "templates\sj_worldnews\templateDetails.xml", finding:

<field name="font_name" type="list" default="arial" label="FONT_NAME_LABEL" description="FONT_NAME_DESC" >
				<option value="arial">Arial</option>
				<option value="arial-black">Arial Black</option>
				<option value="courier">Courier New</option>			
				<option value="georgia">Georgia</option>
				<option value="impact">Impact</option>			
				<option value="lucida-console">Lucida Console</option>	
				<option value="lucida-grande">Lucida Grande</option>								
				<option value="lucida-sans">Lucida Sans</option>
				<option value="palatino">Palatino</option>			
				<option value="tahoma">Tahoma</option>
				<option value="times">Times New Roman</option>
				<option value="trebuchet">Trebuchet</option>
				<option value="verdana">Verdana</option>				
			</field>


=>

<field name="font_name" type="list" default="arial" label="FONT_NAME_LABEL" description="FONT_NAME_DESC" >
				<option value="arial">Arial</option>
				<option value="arial-black">Arial Black</option>
				<option value="courier">Courier New</option>			
				<option value="georgia">Georgia</option>
				<option value="impact">Impact</option>			
				<option value="lucida-console">Lucida Console</option>	
				<option value="lucida-grande">Lucida Grande</option>								
				<option value="lucida-sans">Lucida Sans</option>
				<option value="palatino">Palatino</option>			
				<option value="tahoma">Tahoma</option>
				<option value="times">Times New Roman</option>
				<option value="trebuchet">Trebuchet</option>
				<option value="verdana">Verdana</option>
				<option value="hacen_tunisia">Hacen Tunisia</option>			
			</field>


+ go the administrator => Extensions => Template Manager => sj_worldnews - Default => Style Settings tab => choose Google Font-Family as None Select => choose Google Font-Family as Hacen Tunisia

Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: install new font ( not google fonts) 11 years, 3 months ago #6601

Dear Smartaddons,

sorry, but this procedure only works if I install the font-family in my PC.
the "hacen tunisia" font is not a defaut font in all systems.

Re: install new font ( not google fonts) 11 years, 3 months ago #6603

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Mehdi Allani,

Please try to do the following steps:

+ download the hacen tunisia font

+ extract the zip file and copy all files to "templates\sj_worldnews\elements\fonts" folder

+ add the following code lines to the end of fonts.css in "templates\sj_worldnews\css":

@font-face {
  font-family: 'hacen_tunisia';
  src:  url("../elements/fonts/hacen_tunisia.eot");
  src:  url("../elements/fonts/hacen_tunisia.eot?#iefix") format('embedded-opentype'),
        url("../elements/fonts/hacen_tunisia.woff") format('woff'),
        url("../elements/fonts/hacen_tunisia.ttf") format('truetype'),
        url("../elements/fonts/hacen_tunisia.svg#hacen_tunisia") format('svg');
  font-weight: normal;
  font-style: normal;
}


Thanks
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 11 years, 3 months ago by loitt.
The following user(s) said Thank You: Allani
  • Page:
  • 1
  • 2
Time to create page: 0.27 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