Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Website Setup › Widget Areas › Adv search filter clashes with mobile UI
- This topic has 7 replies, 2 voices, and was last updated 5 years, 10 months ago by Themosaurus.
-
AuthorPosts
-
alexParticipant@abourne
- 81 Topics
- 259 Posts
On mobile (www.gymn.com.au) the advance search filter on home screen clashes with the swipe deck of cards. How to separate this? It is very difficult for users to select the adv search filter.
Secondly, how to make text appear above the search filter. The icon is difficult to be identified. I want to add next to it ‘toggle search’ or something to indicate its function.
October 8, 2018 at 09:08 #2692@themosaurus- 1 Topics
- 1675 Posts
Hi @abourne,
Normally, the filter is only compatible with the default member view (*/members) and not the Swap view (*/members-swap).
I suppose you have set the “members-swap” page as the page to receive the search filters.Unfortunately, we cannot guarantee the functioning of these two coupled features. Only the filters with the classic directory (*/members).
Nevertheless we can create a CSS snippet that could visually improve the display of the filters.
Can you please create a new website user for us? If possible with administrator capabilities so we can create this snippet directly on your site ?
You can post the user name and password in your next private reply.Cheers,
October 17, 2018 at 10:48 #2948@themosaurus- 1 Topics
- 1675 Posts
Hi @abourne,
To change this, simply add the following code snippet to your website:
/* Better display for filters on member Swap view */ .buddypress.directory.members #buddypress div.item-list-tabs.bps_header { position: relative; z-index: 9999; top: 20px; left: 0; right: auto; width: 100%; transform: none; text-align: center; } @media screen and (min-width: 768px) { .buddypress.directory.members #buddypress div.item-list-tabs.bps_header { top: -10px; } } .buddypress.directory.members #buddypress div.item-list-tabs.bps_header > ul { display: inline-block; } .buddypress.directory.members #buddypress div.item-list-tabs.bps_header > ul > li.last { width: auto; max-width: none; height: auto; padding: 0; } .buddypress.directory.members #buddypress div.item-list-tabs.bps_header > ul > li.last:before { content: none; } .buddypress.directory.members #buddypress div.item-list-tabs.bps_header > ul > li.last input { display: block; position: static; }
To add this code snippet to your site, we recommend that you paste it to the Custom CSS panel of your WordPress Customizer. Just go to your dashboard and navigate to “Appearance > Customize > Additional CSS”.
Pasting your code snippet there should do the trick for you.We hope this will solve your issue. ?
All the best,
November 1, 2018 at 17:02 #3195@themosaurus- 1 Topics
- 1675 Posts
You’re welcome. ?
We also believe that the snippets we create for specific cases can also be useful for other users.
We plan to create theme options (WP Customizer) for some of these snippets and list the others (more situation-specific) in our documentation. It will take a little time, but it is worth it!Thanks again for your feedback alex.
Best regards,
November 2, 2018 at 11:24 #3224 -
AuthorPosts
The topic ‘Adv search filter clashes with mobile UI’ is closed to new replies.