Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap4 Templates #328

Open
PaulBrownMagic opened this issue May 12, 2019 · 7 comments
Open

Bootstrap4 Templates #328

PaulBrownMagic opened this issue May 12, 2019 · 7 comments

Comments

@PaulBrownMagic
Copy link

Bootstrap4 is now up to version 4.3 and is stable. As Bootstrap3 templates are included, perhaps providing Bootstrap4 ones could also be done?

@ababic
Copy link
Collaborator

ababic commented May 12, 2019

Hi @PaulBrownMagic. Sure, I'd be happy to have a set of templates for bootstrap 4. If you have experience with it, I'd gratefully accept a pull request?

@PaulBrownMagic
Copy link
Author

Sure, I'd be happy to, I think I can drag the code from an existing project. Give me a week or so to fit it into my schedule.

@ababic
Copy link
Collaborator

ababic commented May 14, 2019

Thanks @PaulBrownMagic, that'd be great. Please take a look at our contributing guidelines There are some good tips in there for developing locally, which could save you a bit of pain in getting set up :)

@kbayliss
Copy link

Hey @PaulBrownMagic, did you manage to get anywhere with this? If not i'll pick this up as I'm keen to use them too :).

@PaulBrownMagic
Copy link
Author

Sure, I've pulled my templates out of a project and pushed them to my fork: https://github.com/PaulBrownMagic/wagtailmenus

If you'd double check them for me I'll create the pull request?

@linuxluigi
Copy link

linuxluigi commented Nov 1, 2019

Thanks for the work, I just test it and it works quite good :)

Only in main_menu_dropdown.html I needed to change
<a href="{{ item.href }}" class="nav-item{% if item.has_children_in_menu %} dropdown-toggle" ...
to
<a href="{{ item.href }}" class="nav-link{% if item.has_children_in_menu %} dropdown-toggle" ...

@PaulBrownMagic
Copy link
Author

Fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants