Copied to clipboard

Flag this post as spam?

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


  • Paul 1 post 21 karma points
    Mar 12, 2015 @ 10:44
    Paul
    0

    Umbraco 7.2 grid textpage height?

    Hi,

    I'm new to Umbraco and so far I like the extend in which you can customize the pages.

    Yesterday I've been struggeling with the section 'Grid Textpage' where you can add custom grid templates in numbers and width.

    But is it possible to set a custom height of that grid or div where the grid is placed in?

    Thnx in advance.

    Paul

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 12, 2015 @ 11:38
    Dennis Aaen
    0

    Hi Paul and welcome to our,

    So you want to set a specific height on your grid text page. What you can do is in your template for the textpage you can wrap a div around where you output the grid like this.

    <div class="myClass">
        @CurrentPage.GetGridHtml("content", "fanoe")
    </div>

    And then in your CSS you can do.

    .myClass{
        height: 500px;
    }

    Each row has also a class that you can write a selector for so you can set the same height on each row. like

    .row{
        height: 500px;
    }

    Since you are new to Umbraco I think I would be a nice idea for you to take a look the the Umbraco TV. Here you can find some videos about the basic conecpts of Umbraco, and there a also some videos about the grid. http://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/grid-layouts/introduction/

    You can also find documentation about the grid layout here: https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/built-in-property-editors-v7/Grid-Layout and https://our.umbraco.org/Documentation/Using-Umbraco/Backoffice-Overview/Property-Editors/Built-in-Property-Editors-v7/Grid-Layout-Best-Practices

    As you can see some of the videos are free to watch and some needs that you subscribe to the Umbraco TV service.

    You can the different plans for Umbraco TV here: http://umbraco.tv/plans-signup/

    Other good starting point could be https://our.umbraco.org/documentation/Using-Umbraco/Creating-Basic-Site/ and http://24days.in/umbraco/2014/how-to-set-up-an-umbraco-site/

    Hope this helps and don't hesitate to ask again,

    /Dennis

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies