Skip to content

Commit

Permalink
remove accordion icon
Browse files Browse the repository at this point in the history
  • Loading branch information
saidmsaif committed Dec 20, 2021
1 parent ffa7a6b commit 68b3846
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 27 deletions.
2 changes: 0 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,6 @@ input:focus {
}

.accordion-button:not(.collapsed)::after {
background-image: url("../img/icons/down-icon.svg");
transform: rotate(180deg);
}
.accordion-button::after {
Expand All @@ -675,7 +674,6 @@ input:focus {
height: 1.25rem;
margin-left: auto;
content: "";
background-image: url("../img/icons/down-icon.svg");
background-repeat: no-repeat;
background-size: 1.25rem;
transition: transform .2s ease-in-out;
Expand Down
50 changes: 25 additions & 25 deletions template-parts/common/section-testimonial.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,35 +51,35 @@
<div class="rating w-max mx-auto d-flex">
<?php
if($repeater_item_content->subtitle == 5) {
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
} elseif ($repeater_item_content->subtitle == 4) {
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-muted"></i>';
} elseif ($repeater_item_content->subtitle == 3) {
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
} elseif ($repeater_item_content->subtitle == 2) {
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
} elseif ($repeater_item_content->subtitle == 1) {
echo '<i class="ri-star-fill text-warning"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="ri-star-fill text-muted"></i>';
echo '<i class="fas fa-star text-warning"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
echo '<i class="fas fa-star text-muted"></i>';
}
?>
</div>
Expand Down

0 comments on commit 68b3846

Please sign in to comment.