BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › New Toolbar Global Search
- This topic has 6 replies, 2 contibutors, and was last updated 9 years, 8 months ago by Alyssa.
Question
February 18, 2015 at 4:13 pm #36171@jgwolfensbergerHi Guys!
Crazy coincidence – two days before you released the theme update with the Global Search in the admin toolbar, we finished putting it in our header. I think you did a fantastic job integrating it, but our users are typically below-average on web skills and our “big” search field is more apparent to them. So three questions:
1. For simplicity, I could just hide the new search tool on the admin toolbar. I’ve tinkered with CSS but can’t figure out the correct code to hide the new search. Is it easy?
2. I would use the new toolbar search if the input field wasn’t collapsible. Again, only because my users will likely overlook it. If the field could be expanded at all times and I could make the magnifying glass in the search field a little more apparent, I could use it.
3. We allow non-members to access portions of our site that require search capability. How would I display the admin toolbar at all times to non-logged in users as well?
Thanks for the help and again, great job on Global Search and it’s integration. (Attachment shows our header search.)
James
Answers
February 24, 2015 at 10:22 am #36393@jgwolfensberger@tjchester – Hi TJ, can you offer any thoughts on this topic? Thanks man! 🙂
February 24, 2015 at 1:50 pm #36404@alyssa-buddyboss
AlyssaParticipantThese are all WordPress issues but here we go:
1) Add this to custom.css to remove the search:
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input{display:none;}
2) Add this to custom.css to expand the search always:#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input{color: #000; width: 200px; background-color: rgba( 255, 255, 255, 0.9 ); cursor: text; border: 0; }
3) Try adding this to functions.php:
show_admin_bar( true );
If any of these do not work you will need to contact WordPress for further support.
February 24, 2015 at 1:53 pm #36407@jgwolfensbergerHi TJ – you know how much I appreciate your products and support, and I’ll try these and I thank you. But I have to ask, why are these WordPress issues when I’m asking about your new theme feature? No attitude here, just want to understand. 🙂
February 25, 2015 at 11:02 am #36437@alyssa-buddyboss
AlyssaParticipant@jgwolfensberger isn’t the search function in the toolbar a WordPress function? I do not believe we add any search forms, we simply hijack the search results page with a new query. Showing the adminbar for logged out uses is a WordPress function. I’m not entirely certain how to make it display for logged out users if the above code does not work because they recently changed the code, this is also an unusual request, most people want to hide the adminbar for certain users.
February 25, 2015 at 11:19 am #36439@jgwolfensbergerI’m cool with it, TJ… thanks for explaining. We’re working through it and you’ve been helpful. Thanks man!
February 26, 2015 at 5:17 pm #36535@alyssa-buddyboss
AlyssaParticipantAnytime James!
- The question ‘New Toolbar Global Search’ is closed to new replies.