Topic: Image carousel as URL link
Michal Szymanski staff pro premium priority answered 7 years ago
Hi,
try this code:
<!--First slide--> <div class="carousel-item"> <a href="https://mdbootstrap.com/" target="_blank"> <img class="d-block w-100" src="https://mdbootstrap.com/img/Photos/Slides/img%20(130).jpg" alt="First slide"> </a> </div>
Garzon pro answered 7 years ago
Hello,
It didn't work, however this code snippet was inside of the class "view", so the solution was use the tag <a> outside of <div class="view">
Thanks a lot.
C
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No