handling dynamic cover
This commit is contained in:
parent
0718ab4fd1
commit
b176cfbe63
|
|
@ -15,7 +15,7 @@
|
|||
flex
|
||||
flex-col
|
||||
md:flex-row
|
||||
items-start
|
||||
items-center
|
||||
justify-around;
|
||||
|
||||
&__titling {
|
||||
|
|
|
|||
|
|
@ -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; ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user