Jump to content
Sign in to follow this  
questie

Search Bar and Branding Nav in header

Recommended Posts

questie    0
questie

Is there a way to make the Brand Nav appear next to the search box in the branding section? I was able to move the Search Bar but cannot make the branding nav appear.

Share this post


Link to post
Share on other sites
Rob    547
Rob
I don't know how to move the Brand Nav there. I see you have Navigation present. Do you have BrandNav located in the header? Or are you referring to Navigation as BrandNav?

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob    547
Rob
The BrandNav doesn't have a search bar. I understand that the BrandNav section will include a small logo and the menu, but no search. Unfortunately, I don't see a method of putting it there properly without creating a conflict.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
questie    0
questie
So there's no way to use Hooks to put in links in the Branding Section? I was able to move the search bar and notice that it expands width when mouseover. Is that the conflict you are referring to?

Share this post


Link to post
Share on other sites
Jenny    33
Jenny
Hi @questie. I can't tell from looking at your site if there will be enough room to have a search bar up there or not, but you can try using a hook. To see the list of available hooks, just install/activate the Action Map plugin from the PageLines Store. You will be able to see the hooks live on your site (just turn it on in the admin bar at the top of your live site). You should be able to use pagelines_inside_bottom_brandnav or pagelines_after_brandnav. Place the hook code in the functions.php file of either PageLines Customize plugin or Base Theme (do not add code to core files). There should be a sample hook in either file.

Jenny :: Web designer at Simple Mama (follow me at @simplemamacom)

Check out Share Me, a social sharing add-on for DMS that is super simple to set up.

Share this post


Link to post
Share on other sites
poseyg+    1
poseyg
Questie, You can move the search bar up into the brandnav area with: #brandnav .brandnav-nav { float: right; margin-left: 20px; margin-right: 185px; } .searchform { top: -135px; right: 55px; } You may want to adjust the brandnav and searchform numbers to make everything line up correctly.

Share this post


Link to post
Share on other sites
bstaikos    0
bstaikos
Took poseyg's advive above and copy/pasted into the functions.php file through Pagelines Customize plugin and now get the following on screen: Parse error: syntax error, unexpected ':' in /home/content/68/9162868/html/wp-content/themes/pagelines/functions.php on line 24 Now my site is down and I am not able to log into admin - thanks!

Share this post


Link to post
Share on other sites
WebWerx    0
WebWerx
@bstaikos: Best practice is to always (always always) make a copy of any core file before editing it. Have you made any changes to functions.php otherwise? If not, you can upload an "original" in order to get your site back online. And...... @poseyg's code is for placement in your site's stylesheet not functions.php. So... you need to get that functions.php restored. This is a 2 step process: Hook in functions.php CSS in your custom stylesheet Get it? PS Backup backup backup

Share this post


Link to post
Share on other sites
bstaikos    0
bstaikos
All set. Went into database and removed from functions.php. New at this, so appreciate your help! :)>-

Share this post


Link to post
Share on other sites
bstaikos    0
bstaikos
@WebWerx, would you be kind enough to provide the hook for the functions.php file?

Share this post


Link to post
Share on other sites
WebWerx    0
WebWerx
@bstaikos: I kinda lost track of things here as when I looked at the site I see 2 NAVs up top and no Search bar. Where are you with this?

Share this post


Link to post
Share on other sites
bstaikos    0
bstaikos
@WebWerx, sorry, things on my end got away from me too! Still have not done the above, but will try again this weeked. Learning curve has been a bit steep given my time committment to it, but starting to get more comfortable.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×