Archived

This topic is now archived and is closed to further replies.

  • 0

NavBar disappear on "special" page templates


Question

Posted · Report post

Hello,

 

I'm sure this question has been previously asked, but I can't find anything. NavBar works fine on standard page templates but disappears on "special" page templates (blog, category author pages, etc.). How can I fix that?

 

Standard page template: NavBar ok
http://www.tibetnc.org/tnc/background-information/

"Special" page templates: NavBar has gone
http://www.tibetnc.org/category/press/
http://www.tibetnc.org/author/chowkidar/

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

Thanks Danny for your help!

The culprits were indeed among plugins. The "Post Types Order" and "qTranslate" plugins are simply not compatible. Individually activated, the NavBar is present everywhere, but when both are activated the problem occurs and NavBar disappears on “special” pages…

Conclusion: I'll get rid of the "Post Types Order" plugin and re-order my stuff using creation dates or something like that.

Yet, as soon as I find the time, I'll post a ticket on both plugin's website.
 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

Please go to Dashboard > PageLines > Page Options and click the tab for Category and then Page Setup.  Scroll down. Make sure "Hide Navbar" is not checked.

 

Do the same with Author, Archive and other templates.

 

I suspect the Navbar is simply hidden. 

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you Rob for your answer,

 

Unfortunately this did not help. Only the "Category" page option had the "Hide NavBar" checked (the other templates were unchecked). However, even after unchecking it, the NavBar is not showing up…

 

What is weird is that the NavBar disappears when visiting the "Category" or "Author" page, but "re-appears" when visiting a particular post. Click on the following link, where posts are listed by category http://www.tibetnc.org/category/press/ — the NavBar disappears — and then click on one of the article — the NavBar is back.

Share this post


Link to post
Share on other sites

Posted · Report post

Check the "blog" template too.   While you're at it, check all of them.  It shouldn't have ever been hidden, and it's not a default setting.

 

If you have a cache plugin activated, clear the cache after making any changes, through the plugin's settings, then in the browser, refresh the page when viewing.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks Rob,

I already verified all templates and, apart from "Category", none of them had the "Hide NavBar" option checked. As for cache plugins, I'm not using any.

Regarding refreshing the browser's cache, I did it but it makes little sense: I have the same problem using another computer, another browser or on my smartphone.

I also tried to use the Nav Classic instead of the NavBar, but the problem persists.

Another weird thing is that when I check the page source the navigation code is there, but on "special" pages no <ul> and <li> are present in the <!-- NavBar | Section Template -->:

<div class="nav-collapse collapse">
</div>
 

instead of:

<div class="nav-collapse collapse">
   <ul id="menu-menu-1" class="font-sub navline pldrop pull-left"><li id="menu-item-149" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-149">
   (...)
   </ul>
</div>
 

This is weird, especially if we consider that, when the NavBar is hidden from the Page Options, the code <!-- NavBar | Section Template --> isn't shown at all.

 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

Please disable all non-PageLines plugins and see if this resolves your issue. If disabling plugins doesn't resolve your issue, remove all custom code you have added and then check the special pages again, to see if the NavBar is visible.

Share this post


Link to post
Share on other sites