Skip Navigation

[Resolved] Custom search filter "Display in two columns" setting doesn't saved

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by fabioO-3 3 years, 9 months ago.

Assisted by: Waqar.

Author
Posts
#2205679

I am trying to:
add a "Custom search filter" of date field, with "Using this comparision" value "between" and "Compare value as a "number" and try to enable "Display in two columns" setting

Link to a page where the issue can be seen:
hidden link
I expected to see:
2 calendar picker icons displayed in 2 columns
Instead, I got:
1 column with stacked icons

#2206673

Hi,

Thank you for contacting us and I'd be happy to assist.

During testing on my website, I couldn't make the option "Display in two columns", work either.

I've reported this to the concerned team and for now, you can use the following workaround, to show those fields in two columns:

1. In the "Custom Search Filter" block for this date field search filter, you can include a custom CSS class "date-field-container".
( screenshot: hidden link )

2. In the "View" block's "Custom CSS" field, you can include the following CSS code:
( screenshot: hidden link )


.date-field-container > div {display: flex;}

.date-field-container > div .form-group {width: 50%;}

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2206975

Thanks for your answer.
With your workaround, I can't show 2 date field in 2 columns.

Can I show a label different from field label?
For example:

My field name is "Date", but I would show
Date from:
Date to:

#2208855
date-field-filter.png

Thank you for waiting and I see that the date fields are showing in two columns now.

To show 2 separate date fields in two columns, you can use the same workaround, but, you'll first include a "Grid" block to show the filter for those two fields in two columns and then the remaining steps will be the same.

As for the labels, yes you can show different labels for the both fields, by directly typing the text in the preview pane.
( example screenshot attached )

#2210749

My issue is resolved now. Thank you!