Topic: Image carousel as URL link
Garzon pro asked 6 years ago
Garzon pro answered 6 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
Michal Szymanski staff answered 6 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>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No