Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt 358 posts 841 karma points
    Dec 19, 2018 @ 10:23
    Matt
    0

    Umbraco Grids

    Morning all,

    I'm looking at the umbraco grid to try and allow the end user to create custom page layouts rather then just the bog standard template.

    I've followed couple tutorials on youtube and looked through the starterkits to see how they managed it.

    However I've created my Grid, I've put my content inside e.g

    enter image description here

    Yet for some reason it still prints out like this.

    enter image description here

    I'm using the following code to render it;

    @CurrentPage.GetGridHtml("contentGrid", "bootstrap3-fluid")
    

    Am I mising something? I thuoght I could just use the standard layouts which umbarco comes with?

    Thanks,

    Matt

  • Thomas Beckert 193 posts 469 karma points
    Dec 19, 2018 @ 10:39
    Thomas Beckert
    0

    Did you include the bootstrap-css correctly in your template?

  • Matt 358 posts 841 karma points
    Dec 19, 2018 @ 10:49
    Matt
    0

    I thought that, but when looking in starter kits I cannot see them linking to any bootstrap css?

    e.g in bootstrap3-Fluid.cshtml they reference class "umb-grid" and "row" but nothing in there css?

  • Thomas Beckert 193 posts 469 karma points
    Dec 19, 2018 @ 10:51
    Thomas Beckert
    0

    The css should referred in you master-template. not in the partial view of the grid.

Please Sign in or register to post replies

Write your reply to:

Draft