adding dynamic accordeon classes
This commit is contained in:
parent
2be41bd723
commit
cd0d7d4730
|
|
@ -32,14 +32,15 @@ $relatedTaxQuestions = $args['relatedTaxQuestions'] ?? null
|
|||
|
||||
|
||||
?>
|
||||
<details class=" question">
|
||||
<details class=" question homegrade-dynamic-accordeon">
|
||||
<summary>
|
||||
<?php the_title(); ?>
|
||||
<div class="open-close-icon">
|
||||
<img src="<?php echo get_template_directory_uri() . '/resources/img/graphic-assets/chevron_down.svg' ?>" class="open-close-cta" alt="" />
|
||||
</div>
|
||||
</summary>
|
||||
<div class="content entry-content">
|
||||
<div class="homegrade-dynamic-accordeon__content-wrapper">
|
||||
<div class="content entry-content homegrade-dynamic-accordeon__content ">
|
||||
<?php the_content(); ?>
|
||||
<?php if ($relatedFicheConseil) : ?>
|
||||
<div class="question-context">
|
||||
|
|
@ -50,6 +51,7 @@ $relatedTaxQuestions = $args['relatedTaxQuestions'] ?? null
|
|||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
|
||||
<?php endwhile ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user