WordPress.org

Support

Support » Plugins and Hacks » Page Builder by SiteOrigin » [Resolved] Nesting the grid

[Resolved] Nesting the grid

  • Hi man,

    Great Work!

    I was thinking. How about we could nest the grid?!
    For example if you press the “Add row” button and have highlighted a “cell”, then you will nest that cell. If you don´t have highlighted a cell then it becomes a new row.

    I´m currently playing around in the “panels.admin.grid.js”.
    So if you change this line:
    var container = $( '<div />' ).addClass( 'grid-container' ).appendTo( '#panels-container' );
    to this:
    var container = $( '<div />' ).addClass( 'grid-container' ).appendTo( '#panels-container .grid .cell.cell-selected' );

    Then you have nested a cell.
    But then it takes a little more work to get it all to function thou. I´m no jquery ninja so i was thinking if you have any plans for this ?

    Best regars /

    Mr____

    http://wordpress.org/plugins/siteorigin-panels/

Viewing 1 replies (of 1 total)
  • Plugin Author Greg Priday

    @gpriday

    Hi there mr 😉

    Thanks! Glad to hear you’re liking Page Builder.

    When I first start coding Page Builder, it could handle nesting. It made the whole thing substantially more complex. Both to code/maintain and to use, so I pulled this functionality. Page Builder probably still wouldn’t have been ready if I’d tried to keep it.

    This is something I’d consider tackling again, but it’s not on the immediate roadmap.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Nesting the grid’ is closed to new replies.
Skip to toolbar