sruupl / batflat

Lightweight, fast and easy CMS for free. Bootstrap ready. https://batflat.org
MIT License
134 stars 54 forks source link

Bootstrap 4 Navigation #24

Closed komputronika closed 6 years ago

komputronika commented 6 years ago

I think there is should be an option on the settings page to use Bootstrap 3 or 4. Because the HTML structure of the navigation is slightly different. Thanks.

klocus commented 6 years ago

Hello,

You can easily customize HTML view of navigation. Just create in your theme catalog a new dir: modules/navigation/ and paste there this file: https://github.com/sruupl/batflat/blob/master/inc/modules/navigation/view/nav.html

Batflat will detect that your theme uses a different view for a given module.