Skip Navigation

[Resolved] How can i hide original filter on mobile? I have the filter in a modal/popup

This support ticket is created 4 years, 2 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 3 replies, has 2 voices.

Last updated by andersN 4 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#2095317

Tell us what you are trying to do?
I have the view filter configured in a modal/popup and now i want to hide the original filter i mobile view.

Is there any documentation that you are following?
Could not find anything that answered my question.

#2095445

Hi,

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

To suggest the best way to achieve this, I'll need to see how this view is set up.

Can you please share temporary admin login details along with the link to the page where this can be seen?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#2097547

Thank you for sharing the details.

The view results and the inline search form are shown stacked on top of each other in mobile view when the screen width is less than 600px.

To hide that search form in this mobile view, you can use custom CSS code:
( ref: hidden link )

Example:


@media only screen and (max-width: 599px) {
.wp-block-toolset-views-custom-search-container {
display: none;    
}
}

The above code can be added in the view's custom CSS field.
( screenshot: hidden link )

#2100365

My issue is resolved now. Thank you!