handling dynamic cover

This commit is contained in:
Antoine M 2024-05-16 18:40:54 +02:00
parent 0718ab4fd1
commit b176cfbe63
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
flex
flex-col
md:flex-row
items-start
items-center
justify-around;
&__titling {

View File

@ -224,7 +224,7 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
<a class="cta cta--secondary cta--button" href="<?php echo $highlightedDocumentDatas['document']['url'] ?>" target="_blank"><?php echo __("Consulter le PDF", "homegrade-theme__texte-fonctionnel__archive-publications") ?></a>
<?php endif; ?>
</div>
<img class="highlighted-publication__cover" src='<?php echo get_template_directory_uri() . '/resources/img/illustrations/homegrade_brochure-impression.svg' ?>' alt="" />
<img class="highlighted-publication__cover" src='<?php echo $highlightedDocumentDatas['cover']['url'] ?>' alt="" />
<?php endif; ?>