Theme styles and search bar
Hi all, thanks for being so helpful, so often.
On my site, http://occupyeugene.net, I’m using a custom child theme of bp-default. I have a few more questions.
First, I’d like to give the active tab of the navigation menu the following styles: I would like the text to be the same color as in the other tabs, and I would like the background color to be dark grey. I cannot figure out where these styles are set. What code do I need to accomplish this?
I’d also like to move the nav menu out from within the header image… Is there a way to make the menu underneath the header image on its own? I imagine a grey rectangle extending the width of the header with the links inside and perhaps separated by vertical lines or something. How might I do this?
Finally, the search bar within the header seems to be malfunctioning… it seems that as soon as you click in the form field to enter text, it loads an empty search. How can I fix this? And, how can I change the options listed in the dropdown menu, as well as add a site-wide search option? (I may also try to remove it, but I assume I can figure out how to do that if I know where some of the code is…)
To remove the nav out you’d be looking at a template change.
false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
Should be moved in the header.php
To style current items in the menu look at:
#navigation #nav li a.current, #navigation #nav li a.selected
For the search, have you tried removing all plugins just incase one is interfering?
I will take a look at the menu and style questions more closely. Another person on the web committee is going to help.
For the search, I resolved this by removing the onclick I had added to the header (which made everything in the header div area link to the homepage).
For some reason I’m not being notified of buddypress.org replies in my email, will have to check out my settings.
- The topic ‘Theme styles and search bar’ is closed to new replies.