Include core block style to a custom block
-
I creat a custom block (cover-single) to create a cover with featured image and title of single post type.
but i want to use the style of wp-block-cover-css. my block has same class.
the css load only if i include the block cover on my template :<!-- wp:cover --><!-- /wp:cover --> <!-- wp:site/cover-single {"align":"full"} /-->
i try to enqueu style with the handle,… but nothing
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Include core block style to a custom block’ is closed to new replies.