Hello. I need to use Public Sans from Google Fonts (https://fonts.google.com/specimen/Public+Sans) but I can’t find it in the tagDiv Composer selector (https://imgur.com/a/ZsZoepe). Can you enable it? It is urgent. I have already imported other custom fonts in the 5 spaces given in the theme panel and I can’t import more (https://imgur.com/a/78BXw6y).
Hi Manha Com,
The theme is using the fonts from here https://fonts.google.com/ the font that you need is not part of them, and the only method to add another font is do to the custom fields that you already used. Unfortunately, there are only 5 custom fields available.
Thank you for your understanding!
This answer strikes me as an insult.
How can you tell me that Public Sans doesn’t belong to https://fonts.google.com? I give you the link so you can check that it does belong and that your answer is wrong: https://fonts.google.com/specimen/Public+Sans
I need a solution for this urgently.
Hi Manha Com,
I’m sorry, my intention was not to insult you!
What I mean was that the theme is use only the fonts that are listed here -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_fonts.php and is making a reqest from them on google api fonts.googleapis.com
The fonts are not automatically injected in the theme, those need to be added manually. So, at the time when the fonts were added, there were 948 major fonts and the Public Sans I do not think was one of them and was added only latter. What can be done is to add the font in the theme file so that will make a request for it -> https://i.imgur.com/W6o4B7s.png (the path for the file wp-content/plugins/td-composer/legacy/common/wp_booster/td_fonts.php).
I made also a request to add the rest of the google fonts in the theme list, but, this can take some time.
Thank you for your understanding and sorry for the inconvenience!
Hi Calin, thank you very much for your help and your answer.
I have solved it. I have one more question. Is there a known way to prevent when there is some td composer update from losing the configuration I made and having to re-overwrite the td_fonts.php manually?
Thanks.
Hi,
Unfortunately, the td_fonts.php will not work in a child theme, I already tested. But, we received a response from our developers and they said that the fonts will be added in the next update or in the worst case in the next one.
The coming theme update should be this month. If you want you can check the changelog for the new version, or ask here on forum if the new google fonts were added in the theme in td_fonts.php file.
Thank you!