Closed AlkoKod closed 1 year ago
@AlkoKod Heya, this is this bug in WordPress: https://core.trac.wordpress.org/ticket/59018
We actually contributed the patch to fix this, and it will be in 6.3.1! For now, you can rename your theme folder to not start the same way as the parent theme to fix it, or apply the patch manually from trac.
Damn, you are good! Thanks!
Not sure if it can be related to the ACF or Bricks child theme, but I will try to ask.
I am trying to use the ACF Blocks with Bricks Builder child theme - I am trying good, but I encountered strange errors in backend, where CSS files are not being loaded correctly.
I have found that when I register style with block with this code:
"style": [ "file:./partners_testimonials.css" ],
It doesn't load the style correctly. I have the structure of theme:
https://novy.spssecb.cz/wp-content/themes/bricks-child/blocks/partners_testimonials/partners_testimonials.css
But it still loads it wrong:
https://novy.spssecb.cz/wp-content/themes/bricks/-child/blocks/partners_testimonials/partners_testimonials.css
Which doesn't work. Any Ideas why it breaks the url in the theme name? or is it fine? I have a lot of blocks and I want my backend to be styled... AAAnd its completely fine on frontend.
EDIT: I have found similiar question on the forum, but with other URL's being generated: https://support.advancedcustomfields.com/forums/topic/acf-blocks-with-block-json-generates-wrong-css-file-url/