Post by ahmedadelnew » Fri Dec 08, 2017 8:32 am

How to add fonts on Opencart 3.0.2.0
I need to change Product name font

Newbie

Posts

Joined
Wed Sep 13, 2017 6:56 pm


Post by AlexChanHK » Fri Dec 08, 2017 3:22 pm

You can try to edit the template code in the admin panel->design->theme editor to edit the font style.
Then go to product -> product.twig and find where is the code of product name.
It should be

Code: Select all

<h1>{{ heading_title }}</h1>
near around row 123.
And you can edit it to for example

Code: Select all

<h1 style="font-family: Arial, Helvetica, sans-serif;">{{ heading_title }}</h1>
Please check if it would help?

__________________________________________________________________
New web developer in Opencart ;)
Please mention we work at 9:30 am to 18:30 pm in every Monday to Friday.(UTC+8)


New member

Posts

Joined
Thu Mar 16, 2017 4:34 pm

Post by ahmedadelnew » Sat Dec 09, 2017 3:57 am

Thanks, I will try it
But where I can upload font file? I noticed that also we should put font file in two paths
1- catalog\view\javascript
2- catalog\view\javascript\bootstrap\fonts

That's right or not?

I want to add this font (Droid Arabic Naskh), should I upload font file?and where put it?
Can put just font name only or should put also font file?

Newbie

Posts

Joined
Wed Sep 13, 2017 6:56 pm

Who is online

Users browsing this forum: No registered users and 36 guests