i have adobe fonts, loaded in block-editor (fine working except in toolset / woocommerce view blocks) how to do?
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
hi luo,
i have following code in place to provide adobefonts in blocks:
add_action( 'enqueue_block_editor_assets', function() {
wp_enqueue_style( 'typekit', 'versteckter 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?
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:
versteckter Link