Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Editable swiper carousel

$
0
0
Hello everyone, I am trying to create swiper-carousel to be editable. I have 8 photo, which contain following part: Images,URL link, Header Text and Intro text and I want to create that every images need to be editable.WHat I did so far is I create a page type and I create transformation@div class=@card rounded-0 border-0@@ {% if (string.IsNullOrEmpty(Photo)){ %} @img src=@~/BS/assets/images/576x432.png@ class=@card-img-top@ alt=@260x195@@ {% }else{ %} {% GetImage(Photo, 128) %} {% } #%} @div class=@card-body@@ @h5 class=@card-title@@{% Header %}@/h5@ @p class=@card-text@@{% IntroText %}@/p@ @a href=@{% Link %}@ class=@card-link text-info@@Read More@/a@ @/div@ @/div@ Picture

Viewing all articles
Browse latest Browse all 8832

Trending Articles