Posted: July 24, 2018 at 12:34 pm
|
Hi, I’m trying to put events in a specific order on the grid template. I numbered the events category and then inserted individual shortcakes to the page in that order
The problem is the first row cascades in a step as the row moves to right we have 4 grid spacing across the page and it looks weird what can I do to correct this? I’ve tried order by start time etc but we have the events that need to be excluded and it still does not work?? |
Hi Joe, It looks there are a bunch of break tags getting added to the markup, and if you add this CSS it will remove those steps you’re seeing:
That’s probably not the solution as you’ll run into other layout issues. The reason being is the Grid template plugin was not intended to display a grid of one, followed by another grid of one, and so on. The solution I can recommend is use one shortcode in place of those first twelve, and assign those 12 events to one category. Then specify that category in the shortcode so the events that you need to be excluded will not be included there. |
|
|
That CSS creates another issue… If I put them all in one category then they are not ordered The client wants them ordered by tuesday am -tues pm wed am wed pm etc…. they appear in the right order but there is no simple category to make this happen?? |
|
they need to be sorted by start time and day |
Joe, May I ask what order are they in why you use one category with one shortcode? |
|
|
they are classes start with tuesday am afternoon pm then wednesday am afternoon and eve then thursday am etc trying to reflect the table and how they are ordered below |
|
tried multiple different ways of asc or desc of start time and none work as close to what we want as this?? |
That doesn’t answer my question. One way to help us help you is please be specific in your replies. For example you could send a reply like “I tried this shortcode [Shortcode you tried] and it did this {what it did}, and I tried this shortcode [Other shortcode you tried, and it did this {what it did}” instead of:
Anyway, this doesn’t appear to be an issue with the Grid view template but rather the way you’re inputing shortcodes into the page. One possible fix (beyond the already mentioned recommended way to use one shortcode) is you remove the line breaks between the shortcodes. You’ve already done that for the second half of the page with those last 4 shortcodes. |
|
|
I used shortcode [ESPRESSO_GRID_TEMPLATE order_by=event_name] the result was only 8 of the 12 displayed and added 2 inactive events for a total of 10 in no order [ESPRESSO_GRID_TEMPLATE month=september-2018] and only 6 displayed + 4 others that are below in the 2nd set already even when viewing events I try to sort by start date and they are not in correct order?? I also tried [ESPRESSO_GRID_TEMPLATE category_slug=tuesday] with wednesday and thursday as well but the event start times were mixed in the order?? |
Hi Joe, The shortcodes you tried were not the shortcode I’m advising to do. Here are two options that you can choose from to make this work: Option 1) Assign the 12 events to their own unique category, where no other events are assigned to that category. For example if the category slug is Option 2) Remove all the line breaks between each of the single shortcodes e.g. This:
gets changed to be this:
|
|
|
Hi Josh thanks for your patience I first tried eliminating spaces etc in the text edit field and instead of fixing the cascade effect on the first row it made the rows uneven with 1 box in one row 3 in another as it did before. Then I tried to categorized them all with Upcoming and used [ESPRESSO_GRID_TEMPLATE category_slug=upcoming order_by=start_date sort=ASC limit=12] and while I did discover the order was off and found 2 start times actually were not pm but mistakenly am which threw off the order a bit , not corrected the boxes are in order with the single shortcode but have the uneven rows of 4/1/4/3 instead of 3 rows of 4 like it should be you can see her register page not sure what the issue is ? |
It’s a CSS issue, that can be fixed by adding some CSS to your custom stylesheet:
|
|
|
awesome that fixed it thanks so much |
You’re welcome. I’m glad you’ve got that sorted out. |
|
The support post ‘Grid view template has cascading boxes in first row??’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.