Copied to clipboard

Flag this post as spam?

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


  • Leon Boon 7 posts 27 karma points
    Nov 19, 2015 @ 09:31
    Leon Boon
    0

    Grid layout bug

    I created a row layout (grid layout) using the following configuration:

    1/3 - 1/6 - 1/6 - 1/6 - 1/6

    Umbraco calculates this as:

    33.3% - 16.7% - 16.7% - 16.7% - 16.7%, the total of this sum is 100,1% which means the grid wont render as it should. The most right column will move to the next row.

    I'm not an Umbraco expert, i was wondering; can i easily override the template which will render the Grid in the CMS, so i can fix this bug.

    Thanks!

  • Nathan Sleigh 109 posts 353 karma points
    Nov 19, 2015 @ 09:52
    Nathan Sleigh
    0

    Hi Leon,

    So your layout is set up as 1 section of 4 and 4 sections of 2?

    If not then this is how i would set the grid layout like. If its like this then the HTML should write out like the image below. And to get it to style properly add the CSS to it like mine?

    enter image description here

    It should then look like this on a page

    enter image description here

    I hope this helps?

    Nathan

  • Leon Boon 7 posts 27 karma points
    Nov 19, 2015 @ 10:01
    Leon Boon
    0

    The grid is rendering at the front end as it should:

    33.33333% + 4 * 16.66667 which results in exactly 100% width, the grid in the Umbraco backend is rounding to much: 33.3% and 16.7% which is approximately 100.1%.

    enter image description here

  • Nathan Sleigh 109 posts 353 karma points
    Nov 19, 2015 @ 10:19
    Nathan Sleigh
    0

    I think it may be something wrong with the way you have set up your editors.

    I have set up two examples of what you want and I don't get any problems with it.

    enter image description here

  • Leon Boon 7 posts 27 karma points
    Nov 19, 2015 @ 10:21
    Leon Boon
    0

    Thanks. Unfortunately still experiencing the same issue. A Umbraco upgrade might fix the problem. My Umbraco installation is currently @ 7.2.6, whats your version?

  • Nathan Sleigh 109 posts 353 karma points
    Nov 19, 2015 @ 10:22
    Nathan Sleigh
    0

    I have tried this on both 7.3.0 and 7.3.1 and they work fine

Please Sign in or register to post replies

Write your reply to:

Draft