cleaning lineskips
This commit is contained in:
parent
141e6e05bd
commit
ccfc97eb29
|
|
@ -1,6 +1,6 @@
|
||||||
.post-chapter-header {
|
.post-chapter-header {
|
||||||
@apply p-8 md:px-16 mt-8 max-w-screen-2xl
|
@apply p-8 md:px-16 mt-8 max-w-screen-2xl
|
||||||
flex
|
md:flex
|
||||||
justify-between
|
justify-between
|
||||||
items-center mx-auto
|
items-center mx-auto
|
||||||
rounded-2xl;
|
rounded-2xl;
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
|
||||||
&__page-thematic-cover {
|
&__page-thematic-cover {
|
||||||
|
@apply max-h-[200px] md:max-h-[400px];
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
&__page-thematic-title {
|
&__page-thematic-title {
|
||||||
|
|
|
||||||
|
|
@ -12,29 +12,15 @@ $thematique_generale_id_fr = apply_filters('wpml_object_id', $thematique_general
|
||||||
$thematique_picture = get_field('taxonomy_pictures', "thematiques_" . $thematique_generale_id_fr)['illustration_s'] ?? null;
|
$thematique_picture = get_field('taxonomy_pictures', "thematiques_" . $thematique_generale_id_fr)['illustration_s'] ?? null;
|
||||||
$lastUpdate = get_the_modified_date('', get_the_ID());
|
$lastUpdate = get_the_modified_date('', get_the_ID());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<section class="post-chapter-header bg-<?php echo $args['thematiqueColorSlug'] ?>-light">
|
<section class="post-chapter-header bg-<?php echo $args['thematiqueColorSlug'] ?>-light">
|
||||||
<div class="post-chapter-header__infos">
|
<div class="post-chapter-header__infos">
|
||||||
<?php if ($args['sub-title']) : ?>
|
<?php if ($args['sub-title']) : ?>
|
||||||
<p class="post-conseils-chapter-header__page-thematic-title <?php echo "text-" . $args['thematiqueColorSlug'] ?>"><?php echo $args['sub-title'] ?></p>
|
<p class="post-conseils-chapter-header__page-thematic-title <?php echo "text-" . $args['thematiqueColorSlug'] ?>"><?php echo $args['sub-title'] ?></p>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php
|
|
||||||
// echo '<pre>';
|
|
||||||
// print_r($args['title']);
|
|
||||||
// print_r("YOOOOOO");
|
|
||||||
// echo '</pre>';
|
|
||||||
|
|
||||||
?>
|
|
||||||
<h1 class="post-chapter-header__page-title"><?php echo $args['title'] ?></h1>
|
<h1 class="post-chapter-header__page-title"><?php echo $args['title'] ?></h1>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<img class="post-chapter-header__page-thematic-cover " src="<?php echo $thematique_picture['url'] ?>" alt="">
|
<img class="post-chapter-header__page-thematic-cover " src="<?php echo $thematique_picture['url'] ?>" alt="">
|
||||||
</section>
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user