Home › Forums › Add-ons › Repeater Field › Using ACF PRO with Repeater for Bootstrap Carousel › Reply To: Using ACF PRO with Repeater for Bootstrap Carousel
@hbroccoli yes I added it, as shown below.
<div class="fill" style="width: 1900px; height: 1080px; background-image: url(<?php the_sub_field('image');?>);"></div>
But now my carousel doesnt move left or right. its stuck on the one image. When I view source my code shows up as seen below:
<div class="carousel-inner">
<div class="item active">
<div class="fill" style="width: 1900px; height: 1080px; background-image: url(http://vagrantpress.dev/wp-content/uploads/2016/08/Wallpapersxl-Waterfall-Fanatsy-Landscape-From-Fantasy-738628-1900x1080.jpg);"></div>
<div class="item ">
<div class="fill" style="width: 1900px; height: 1080px; background-image: url(http://vagrantpress.dev/wp-content/uploads/2016/08/Wallpapersxl-Waterfall-Fanatsy-Landscape-From-Fantasy-738628-1900x1080.jpg);"></div>
<div class="item ">
<div class="fill" style="width: 1900px; height: 1080px; background-image: url(http://vagrantpress.dev/wp-content/uploads/2016/08/Wallpapersxl-Waterfall-Fanatsy-Landscape-From-Fantasy-738628-1900x1080.jpg);"></div>
</div>
Which seems exactly like my html above.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.