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

how to add new font
(1 viewing) (1) Guest
Userguide, Report bugs, New Ideas...
  • Page:
  • 1
  • 2

TOPIC: how to add new font

Re: how to add new font 11 years, 1 month ago #8539

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

Please do the following steps.

* go to "templates\sj_news\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="bebasneueregular">BebasNeueRegular</option>	
</field>	


----------------------------------------------------------------------------------------------------------

* go to "templates\sj_news\includes\cpanel.php", finding:

 $fontfamily = array(
			 'Arial'=>'arial',
			 'Arial Black'=>'arial-black',
			 'Courier New'=>'courier',
			 'Georgia'=>'georgia',
			 'Impact'=>'impact',
			 'Lucida Console'=>'lucida-console',
			 'Lucida Grande'=>'lucida-grande',
			 'Palatino'=>'palatino',
			 'Tahoma'=>'tahoma',
			 'Times New Roman'=>'times',
			 'Trebuchet'=>'trebuchet',
			 'Verdana'=>'verdana'			 
);


=>

 $fontfamily = array(
			 'Arial'=>'arial',
			 'Arial Black'=>'arial-black',
			 'Courier New'=>'courier',
			 'Georgia'=>'georgia',
			 'Impact'=>'impact',
			 'Lucida Console'=>'lucida-console',
			 'Lucida Grande'=>'lucida-grande',
			 'Palatino'=>'palatino',
			 'Tahoma'=>'tahoma',
			 'Times New Roman'=>'times',
			 'Trebuchet'=>'trebuchet',
			 'Verdana'=>'verdana',
			 'BebasNeueRegular' => 'BebasNeueRegular'
);


Thanks
Ticket System | Join our Clubs to download our extensions and templates
  • Page:
  • 1
  • 2
Time to create page: 0.20 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