Jump to content
Sign in to follow this  
tmousc

Trying to integrate Header into Primary Menu

Recommended Posts

cshoffmann

In platform pro 1.3.2 (make sure you have upgraded to that version) you will need to go to Platform Pro>Settings>Template Setup>Site Header Now, drag the two boxes off and then drag the BrandNav Section box on. Now, refresh your site and you will find the menu is now inline with the header. Now in the Custom Code section of Platform Pro Settings, insert the following code and adjust the padding to how "high" and "low" you want the menu in relation to the logo. #brandnav .main_nav { float: left; width: 60%; margin-top: 20px; } If this helped you, then please remember to give me Karma above right. Otherwise, keep posting your questions and we'll help.

Share this post


Link to post
Share on other sites
tmousc

Big problem!!! I went to uninstall and install Platform Pro 1.3.2 and when I tried to install the normal Platform Pro I got this error: Warning: require_once(/home6/sfmlawfi/public_html/wp-content/themes/platformpro/core/core.init.php) [function.require-once]: failed to open stream: No such file or directory in /home6/sfmlawfi/public_html/wp-content/themes/platformbase/functions.php on line 8 Fatal error: require_once() [function.require]: Failed opening required '/home6/sfmlawfi/public_html/wp-content/themes/platformpro/core/core.init.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home6/sfmlawfi/public_html/wp-content/themes/platformbase/functions.php on line 8 Now I can't even access my wordpress login. What on earth happened?

Share this post


Link to post
Share on other sites
tmousc

Just to give a quick update. I tried going into the FTP site and uploading the original platform pro back into the themes folder of WordPress. Still no luck.

Share this post


Link to post
Share on other sites
cmunns

Thomas it looks like the sandbox page is working now. Sorry for the issues you were having.

Share this post


Link to post
Share on other sites
tmousc

After completely reinstalling Wordpress and the Pagelines Platform I have finally gotten to the point where I can have my logo in line with my menu. However, I tried using the coding given above and nothing happened. I would like to make it so that the logo and menus are flush against the feature setting (or at least closer) and the menu should not be so far away from the logo (the logo seems to have a much larger clickable area than the logo). Any thoughts?

Share this post


Link to post
Share on other sites
tmousc

Oh. Lastly, my search bar disappeared? Is there any way to keep the search bar up top as well?

Share this post


Link to post
Share on other sites
cmunns

The search bar is option-based under Header and Nav options. It doesn't appear to be in the HTML so check that option.

Share this post


Link to post
Share on other sites
tmousc

The Header and Nav options appear to only affect the normal Nav options. The page I have set up is the BrandNav Section.

Share this post


Link to post
Share on other sites
bryan-hadaway

In Header And Nav there should be a checkbox like: Hide search on top? Thanks, Bryan

Share this post


Link to post
Share on other sites
tmousc

Bryan I saw that and whether you click that box or not the search box does not appear on top when you are using the BrandNav section rather than the normal Navigation section.

Share this post


Link to post
Share on other sites
tmousc

No. I gave up. I want to have a search bar in the BrandNav section. I gave up on the BrandNav and went back to a normal Navigation section which I know how to put the search option. If someone can tell me how to: 1. Make it so the Brand Nav does not have as much space between it and the features; and 2. Add the search bar to brandnav Then I will go back to the BrandNav. As an alternative, is there a way to substitute your header (or just a picture) with a button on the Navigation menu? If there is, then I think that will solve both of my issues listed above.

Share this post


Link to post
Share on other sites
cmunns

For your alternative it depends on how you created the menu. You can add a class to each item individually using the WP3.0 menus system. THen apply css as a background image to that element which would give you what you want.

Share this post


Link to post
Share on other sites
tmousc

Cmunns. I understand conceptually what you are describing but I think that it would end up losing some of the functionality of having the logo able to be used to return back to the main page. In a last ditch effort, Is there any way to at least add a colored


bar to the header in the BrandNav element. I think what I may just end up doing - begrudgingly - is lose the search bar and just use the Brand Navigation and add a colored
bar below the brand navigation so that there is some kind of distinction between the header and the main parts of the page. I didn't see any kind of generic text option for the header and was wondering if there is an alternative.

Share this post


Link to post
Share on other sites
Andrew

Hey Tom, Well anything is possible, relatively easily, with just a little custom css. Have you installed and started using Firebug to get some css rules for your 'bar' and 'text'?

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  

×