Skip Navigation

[Resolved] usage of adobe typefonts in blocks

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 4 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1548835

i have adobe fonts, loaded in block-editor (fine working except in toolset / woocommerce view blocks) how to do?

#1549295

Hello,

Whic one of woocommerce view blocks are we talking about?
I have tried these in my localhost:
Create a content template, add a Woocommerce Views block "Product Price", "Typography"-> "Font", but I don't see any option for the "adobe typefonts".

Please describe detail steps to duplicate the same problem, if it needs other plugin/theme, please provide downloadable url for it. Thanks

#1553371
font.jpg

hi luo,

i have following code in place to provide adobefonts in blocks:

add_action( 'enqueue_block_editor_assets', function() {
wp_enqueue_style( 'typekit', 'hidden link' );
} );

i use generatepress with generateblocks and there i can choose: "other fonts" and type in the font familiy we have in the projekt.
screenshot attached

in toolset i.E an heading i can select an google font, but there is no option to choose and adobe font. how to solve this?

#1554299
css-classes.JPG

There isn't such kind of built-in feature, as a workaround, you can edit the "heading" block you mentioned above, in section "Advanced", setup a custom CSS class name in it, for example: my-goldenbook, see screenshot css-classes.JPG

Then use CSS codes to style it, for example:

.my-goldenbook{
	font-family: "goldenbook";
}

More help:
hidden link

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.