• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Moving quick search to moderator bar?

Dynamic

Well-known member
#1
Hey guys,

I am just wondering how one would go about moving the search field into the moderator bar and off the main page. I have modified the bar to include the visitor panel, and now I would like the search bar in there too. If possible, to sit in the middle of the modbar (like facebook) and on its own line, so when users on a mobile device view it, it automatically sits at the top. ( I have Arty's responsive addon installed).

Thanks.
 

Tracy Perry

Well-known member
#2
Hey guys,

I am just wondering how one would go about moving the search field into the moderator bar and off the main page. I have modified the bar to include the visitor panel, and now I would like the search bar in there too. If possible, to sit in the middle of the modbar (like facebook) and on its own line, so when users on a mobile device view it, it automatically sits at the top. ( I have Arty's responsive addon installed).

Thanks.
Play with the code to get it to where you want it. This should put it beside the username that allows profile access.

Code:
/* SIZE/POSITION/COLOR QUICK SEARCH BAR */
#QuickSearch {
position: absolute;
right: 274px !important;
top: -53px !important;
}
 

Dynamic

Well-known member
#3
Thanks for the info. I have it at a decent level so far. Is there a way to prevent it overlapping the visitor tabs? So when the screen is small, the visitor menu drops below the search bar?

Thanks.
 

Tracy Perry

Well-known member
#4
Not sure... I use Responsive Designs for the small screen stuff, so once it reaches a certain point it goes into a mobil format. I know when I resize my browser on my Mac (Chrome) to shrink the screen all the search bar does is disappear from view. You may want to see if you can get with Shelley as she is one of the local CSS styling guru's. :D
The other option would be to make a new tab menu for search and just not display the box at all.
 

Dynamic

Well-known member
#5
Yeah I looked into that. I am trying to make a wbb4 theme so I need it to sit in the mod bar. Hopefully someone else has some ideas... frustrating :/