Tagged: CSS
hallo,
wenn ich ctp mit dem layout editor nutze, dann fehlen offenbar stylesheets.
z.b. werden keine spalten nebenannder ausgerichtet:
wie kann ich das beheben?
bis dann, marco.
Hey netztaucher,
Thank you for the inquiry.
We are not yet sure why the columns are not aligning or why they are not displaying properly. We may need to check the builder or the post editor. Please provide the admin login details in the private field.
Best regards,
Ismael
thank you.
bis dann, marco.
Hey Marco,
I added the following code to the functions.php file of your child theme to enable ALB on your CPT ( https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type ) and that fixed the issue:
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = 'untersuchungsbogen';
$supported_post_types[] = 'untersuchungsbogen';
return $supported_post_types;
}
add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
Best regards,
Yigit