Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How does the Font Family in Add-on being applied?

Featured Lock Resolved
Hello!

So, I created a template override of Articles add-on so I can add my own option on the Read More link. It's working great but I don't understand the Font Family and how it is being loaded. I cannot find the name font_family being called in the site.php file, so, I assumed that a javascript is taking care of it.

Now, my problem is, when editing a page, changing the font family does not change anything but if I leave the SPPBuilder, it does render the font that I selected. Am I missing something or do I need to add any code for it to work? I am looking at text_block add-on as an example and I cannot find a line of code that called for font_family and text_font_family.

Thanks,

Jackson

7 Answers

Please login to view replies.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 182
Sifat

Sifat

Total Accepted Answers: 68
Toufiq

Toufiq

Total Accepted Answers: 39
Pavel

Pavel

Total Accepted Answers: 5
Dilruba Tariq

Dilruba Tariq

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us