Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
To render a grid layout you can just use
@Html.GetGridHtml(Model.Content, "propertyAlias", "bootstrap3")
but bootstrap 4 is a thing now and I'd like to use
@Html.GetGridHtml(Model.Content, "propertyAlias", "bootstrap4") but I don't know how or if there is already an implementation of the bootstrap 4 grid. My current project uses bootstrap 4 too.
Wlcome to our :) I totally agree that it would be fantastic if we also would support Bootstrap 4.
What you can do for now is create your own custom grid rendering files so you can use Bootstrap 4.
Have a look at the documentation here how to create your custom grid rendering files
Hope this helps,
Thanks for the response.
I have taken a look at the html classes for the bootstrap 3 and 4 grids and I think they're identical. So I think, the default bootstrap 3 included in umbraco is compatible with bootstrap 4.
Am I correct in assuming this or is there something I'm missing?
You can indeed use the Bootstrap 3 renderer with Bootstrap 4 - i have done that for quite a number of sites.. ;)
As Dennis stated you can also make your own renderer if you wish to use some of the new features in Bootstrap 4 or make some other custom changes.. ;)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted