Query template


Using the latest version of Cwicly in the query template grid display is having a strange behavior.
Using auto grid, I can add modules just on the first row. While it allows me to resize them, width and height, it only allows me to add modules until the first row is complete, even if i have a module or more that expand on two or three rows down. Once the last module completes the first row width it will not allow me to add more. While this is expected on an auto grid display, if I make a modules height to expand on two rows, I would expect to have the possibility to add modules and rearrange them until I have an orderly representation. Oh, and there’s no way of moving the modules around, just resizing them, that is if there’s space left to the end of the row.
This is how I’m stuck with the auto grid design.

If I deselect the auto grid, I’m stuck with 10 modules, no matter what. I have 10 modules that I can rearrange how I want, I can even overlap them, but I can’t get rid of any of them. The x (close) button at the top right corner is gone. Add modules button is also missing from this layout.
This is how it looks.

Except CPU UI I have no other plugins and the Cwicly theme is active.
This is while designing a template inside the Cwicly themer for a custom post type created with the CPT UI. Tested while working with a query template on a single page and have the same behavior.

I have the feeling I’m not doing something right here but can’t figure it out.

Thank you.

Hello @beleancristian,

Unless I’ve misunderstood, what you are experiencing is perfectly normal. This is the expected behaviour for both situations.

The Auto Grid property allows one to repeat the first row layout for as many rows of items necessary, which means that you cannot add more modules than there is space, otherwise you would end up with a broken layout.

Your layout seems more geared to a specific pattern, which deselecting the Auto Grid provides you.

The reason you are seeing 10 modules and cannot remove them, is that this allows us to account for the maximum number of items per page in your Query (max per page parameter), which in turns allows you to create a fully custom layout.

Well… Again, like with all your responses @Louis, it makes perfect sense now.
I was thrown off a little by the auto grid layout which allows me to expand across rows, but yeah, if someone wants a layout where the cards are all over the place, you allow them to do it :slight_smile:
The 10 cards made sense only after I read your lines above, my mistake for not digging into it, probably I would have found it myself.
Anyway, thank you, again, for your thorough response.
Can you please take this thread to a different category, not bugs?

1 Like