Fixes item page not rendering custom classes and style

This commit is contained in:
mateuswetah 2021-02-18 16:04:39 -03:00
parent 0d0aac813b
commit 53c3051525
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if ($page_structure_type == 'type-gm' || $page_structure_type == 'type-mg') {
}
?>
<div class="tainacan-item-single tainacan-item-single--layout-'. $page_structure_type . '" style="' . $template_columns_style .'">
<div class="<?php echo 'tainacan-item-single tainacan-item-single--layout-'. $page_structure_type ?>" style="<?php echo $template_columns_style ?>">
<?php
get_template_part( 'template-parts/tainacan-item-single-document' );
do_action( 'blocksy-tainacan-single-item-after-document' );