Hi Spooky,
ah sorry:
PHP-Code:
templates/content_element/swiper/aktuelles.html.twig
{% extends "@Contao/content_element/swiper.html.twig" %}
{% block init_options %}
pagination: {
el: '.swiper-pagination',
type: 'bullets',
},
navigation: {
prevEl: '.swiper-button-prev',
nextEl: '.swiper-button-next',
},
slidesPerView: 3,
grid: {
rows: 1,
},
spaceBetween: 30,
{% endblock %}
templates/content_element/swiper/fade.html.twig
{% extends "@Contao/content_element/swiper.html.twig" %}
{% block init_options %}
pagination: {
el: '.swiper-pagination',
type: 'bullets',
},
navigation: {
prevEl: '.swiper-button-prev',
nextEl: '.swiper-button-next',
},
effect: 'fade',
fadeEffect: {
crossFade: true
},
{% endblock %}