This thread is resolved. Here is a description of the problem and solution.
Problem:
I am having an issue with creating a new page that doesn't resize for mobile use and with setting up a date filter for events on my page.
Solution:
For the new page, recreate the view using the Bootstrap grid instead of the table method. For the date filter, use the Number method for comparison instead of DATE.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
The original one is
[Walks & Talks – Westminster Guides](hidden link) showing pagination with a 3 x 3 grid, and this resizes for mobile use.
It uses this view
[Edit View ‹Tour Search](hidden link)
I'm trying to create a new page
[Walks & Talks – 2 – Westminster Guides](hidden link). This looks fine on desktop (2x3 grid), but no resizing for mobile use.
It uses two views
[Edit View ‹ Walks and Talks for Public](hidden link)
and
[Edit View ‹ Walks and Talks for Group](hidden link)
My main question is what do I need to do to ensure that the new page also resizes - so it becomes readable on a mobile phone?
An additional question with
[Edit View ‹ Walks and Talks for Public](hidden link)
I'd like to ensure this only shows events on or after the current date. I've tried adding a query filter
Filter by Custom field - Date/Time of Tour, where this field is a DATETIME field, that is greater or equal to either NOW() or TODAY(), but in both cases this refuses to display any items at all. Any ideas on how I can fix this?
Many thanks for any help you can provide.
Is there any documentation that you are following?
Just the documentation on the toolset site.
What is the link to your site?
Passed over details in an earlier ticket, and the details should still work.
On your problem page the "grid" is not responsive in the same way as the first page because the output format of the View is as a table, with columns and rows. These can't resize and reflow responsively in the way that the first page does, which instead uses a grid layout for the View output.
Regarding the date filter, I can't see from the front end alone what the problem is.
We discard sensitive data when a thread is resolved, so let me set another private reply to get site credentials from you again.
Thank you for the login information. If you check the View that you use you can see that you used the Table method to create the formatting of the view below: (Check the screenshot)
hidden link
But if you check this view which you say works ok it uses DIV instead of table:
hidden link
You can start over to create a new view and there in the wizard please do not use the Table one and use the Bootstrap grid one.
For the second question, I could not find any filter query . If the date stored in the custom field is created by Toolset, then Toolset stores the date in UNIX format, so for the comparison you should use the Number method and not DATE.
Thanks Christopher. I've changed the two views, and it now works. The page hidden link
shows public and group walks under different tabs. I'm also pleased that the number approach for the date and time appears to be working.
One minor issue remains - if you look at the Group Walks page (which is generated randomly) a long title for a tour spreads over two lines, and hence displaces the image down compared to the entries with shorter titles.
Ideally I'd like to have the same two line margin for each heading. I've seen pages on the web that suggest that the following CSS
This goes beyond the normal Toolset functionality and it is more of a styling issue.
I will be happy to give a solution here but we will not be able to follow up on that.
I suggest that you add a class to your H4 tags in HTML inside the view such as "tab-title". That will help to target the titles of the view only and not the whole website.