(I think it might've been after I installed primeflex, but I uninstalled it after and I reseted my project to a past version and still nope)
Can anyone help me with that pleasE?
Idk if it helps but this is my code ( i have some classes overridden but even if o delete the it still won't work)
Code: Select all
<p-carousel
headerText="Trending"
[value]="cars"
easing="easeOutStrong"
circular="circular"
[responsive]="true"
>
<ng-template let-car pTemplate="item">
<div
class="slider-item p-grid"
style="margin: 0"
[ngStyle]="{'background-image': 'url(' + photo + ')'}"
>
<div class="p-col p-col-aling start">
<span style="font-weight: bold; color: white"> Title, </span>
<span style="font-weight: bold; color: white"> Location </span>
</div>
<div class="p-col p-col-align-end">
<a href="#">
<i class="far fa-heart fav-heart" style="color: red; float: right"
appFillheart
></i>
</a>
</div>
</div>
</ng-template>
</p-carousel>