Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Hide search button in userslist

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 4 months ago - 11 years 4 months ago #229559 by mfe13
hello,
I created a module of users search with CB Content and it works well.
I would just add a tag display: none; to hide the Search button in the userslists but I can not find which file to edit.

thank you
Last edit: 11 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229578 by krileon
Replied by krileon on topic Hide search button in userslist
Suggest using Chrome or Firebug for Firefox then right click and "Inspect Element" on the search button. This will help you with finding its CSS classes and/or ID to style it directly.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 4 months ago #229625 by mfe13
Replied by mfe13 on topic Hide search button in userslist
hello,
But it is not. Css.

Please Log in or Create an account to join the conversation.

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 4 months ago #229641 by mfe13
Replied by mfe13 on topic Hide search button in userslist
Ok, in Default.css.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229655 by krileon
Replied by krileon on topic Hide search button in userslist
Not sure exactly what you're wanting to hide, but the below should help in hiding the search users link and or form submit button.

Hide "Search Users" Link:
Code:
#cbUserListsSearchTrigger { display: none; }

Hide "Find Users" Button:
Code:
.cbUserListSearchFields .cb_form_buttons_line { display: none; }


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • mfe13
  • mfe13
  • OFFLINE
  • Posts: 572
  • Thanks: 26
  • Karma: 5
11 years 4 months ago #229666 by mfe13
Replied by mfe13 on topic Hide search button in userslist
In fact, I did a search module with CBContent to put on all pages of the site.

I masked the link that opens the form on userlists in template/default/default.css:
Code:
<div class="cbUserListSearchButtons" id="cbUserListsSearchTrigger" style="display:none;" ><a style="display:none;" class="pagenav" href="#"><?php echo _UE_SEARCH_USERS; ?></a></div>

Now my problem is after doing a search, the form is always displayed in the userslist and I want to hide because it is too large.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum