I’m creating ACF Blocks in my page.php but i want to add a PHP condition to allow to the user to add a container or not if there is a ACF Blocks is added here is a exemple to know more what i want to do
if ( There is a ACF Blocks is in Guthenberg ) then
elseif ( There is a simple Blocks in Guthenberg ) then
Gutenberg are stored in the post content. I think this is not useful but did you tried to edit this in your template? If the Gutenberg block is already in a class of container like this you can add a full width and style it with CSS after.
<div class="full-width guternberg-block">
// this is a example