handling single page template

This commit is contained in:
Antoine M 2023-10-27 14:22:15 +02:00
parent c8fb3bf50f
commit 3c4fd2b427
2 changed files with 13 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?php get_header(); ?> <?php get_header(); ?>
<div class="page-content"> <div class="homegrade-page-container <?php echo $thematiqueColorSlug ? "homegrade-page-container--" . $thematiqueColorSlug : "" ?>">
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php <?php

View File

@ -0,0 +1,12 @@
.homegrade-page-container {
h3 {
@apply font-bold text-2xl mt-16 mb-4;
}
.homegrade-blocks-highlight {
@apply max-w-full;
}
.homegrade-content-blocks-content-box {
/* @apply alignfull; */
margin: 2rem calc(50% - 50vw);
}
}