Topic: Using pagination with cards?
mattaparity asked 7 years ago
djdabe answered 6 years ago
- I wrapped each set of three cards in a div with the class "page" and id "pag1 for the first set, and id "page2 for the second set.
- I added the two line pagination css to the style sheet.
- I added the js to a file, and linked it.
- I added the pagination nav found at the bottom of the divs on codepen just before the closeing section tag.
- Almost forgot. In the js file I changed the total pages, and visible pages to 2 since that's all I have right now.
Jakub Strebeyko staff answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No