Saltar navegación

[Resuelto] usage of adobe typefonts in blocks

This support ticket is created hace 4 años, 11 meses. 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.

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)

Etiquetado: 

Este tema contiene 3 respuestas, tiene 2 mensajes.

Última actualización por Luo Yang hace 4 años, 10 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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', 'enlace oculto' );
} );

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:
enlace oculto