linchpin / mesh

A page builder, simplified. Get the most flexibility to display content by adding multiple content sections within Pages, Posts, or Custom Post Types.
https://meshplugin.com/
46 stars 12 forks source link

Row inside column #121

Open ghost opened 7 years ago

ghost commented 7 years ago

First of all, thank you so much for making my new favorite Wordpress tool.

I've been looking everywhere to find a place to add a row inside a column because I'm doing a site with a design like this:

meshissue

Is a design like this possible using Mesh?

Thank you.

strarsis commented 7 years ago

This is exactly a type of layout I struggled to realize with WordPress backend edit capabilities!

I tried different page builders, but I wasn't able to achieve this kind of layout (rowspan/multirow) with any of these.

The content should also vertically stretch/align, but this is something I could control myself using custom CSS instead the stock Mesh CSS variants.

aaronware commented 7 years ago

@Skeletbossen This request is kinda related to #71. Not sure if @prkirby had the time to take a crack at it. You can definitely accomplish the layout you have illustrated using standard Foundation row/column markup. Simply create a 2 column section (in mesh) and in the right column use the following snippet.

<div class="row">
<div class="small-12 medium-6 columns">
smaller left column
</div>
<div class="small-12 medium-6 columns">
smaller-right column
</div>
</div>

In order to do the layout in Mesh from a UI standpoint that's a bigger undertaking. Mainly due to how we're using TinyMCE along with Child/Parent posts.

strarsis commented 7 years ago

@aaronware: Right, the issue is rather how to make this layout editable for the backend user in an intuitive enough way. Ideally the input areas reflect the layout so the user knows immediately what to edit.

ghost commented 7 years ago

@aaronware Thank you, this is definitely a workaround I can use at the time being. I can see that adding the UI for it could be a challenge. I haven't had time to look at your code yet, but so far it has been working wonders.

Thanks again.

prkirby commented 7 years ago

Hey Guys,

Unfortunately I haven't had a chance to take a crack at it. My agency is trying to move towards Craft CMS, so around the same time I created the issue, I dove into that haha. We still use wordpress, and its still on my radar to take a crack at it because we use mesh in all of our WP projects.

strarsis commented 7 years ago

@prkirby: Would Craft CMS offer this kind of layout out of the box? 😄

prkirby commented 7 years ago

@strarsis No, quite the opposite. I like craft because it imposes nothing at all. There are no prebuilt templates, there are no fields available before you make them, etc. You build everything as a standard twig template and use the fields you make, it feels a lot like developing a static site with a custom backend. DM if you want more details, this isn't really the thread for it haha.