Jump to content
golok

NavBar disappear on "special" page templates

Recommended Posts

golok    1
golok

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
Rob    547
Rob

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. 


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
golok    1
golok

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
Rob    547
Rob

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.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
golok    1
golok

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
Danny    1,327
Danny

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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
golok    1
golok

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

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


  • Similar Content

    • Grant Turck
      By Grant Turck+
      Navbar Broken on All Devices When Not Logged Into Wordpress. See screenshots attached from mobile. What is causing this issue and how do I fix? Site is venicepride [dot] org.


    • PierreFF
      By PierreFF+
      Hello, 
      I have an issue with NavPro on mobile when the link of the menue is on the same page. 
      Here is my website: http://foundersofthefuture.co
      The isssue comes from the fact that in my menue most of the items send somewhere else on the same page using anchor link (eg. #container_u788888). 
      This works well on desktop but on mobile, nothing happens when clicking on the link. One of the link of the menue of the homepage "France" sends to another page of the website and this one works well even on mobile. 
      I am using the Pagelines framework theme and also used a wordpress plugin (jQuery Smooth Scroll) for smooth scrolling . 
      Thanks in advance for your help and let me know if I need to provide more information. 
      Best,
      Pierre
    • tristanrodgers
      By tristanrodgers+
      Hi there!
      I'd love to have some social media buttons in my navbar like my online-shop has!
      http://mc1r-magazine.com/
      Can someone explain me how to create them? I tried a lot but don't know how to realize them...
      Greetings from Germany,
      Tristan
    • jeomiland
      By jeomiland+
      Hi guys. Just now trying out Platform 5. I like the reletive simplcity of the new interface but there are things I'm used to in DMS that I'm not seeing yet in 5. Is there a good manual, documentation, video series about some of the basics?
      In particular, I've got a simple navigation menu, created the standard way in WP menus section with several top level parents, then 3-4 children menu items below a couple parent items. Have them moved to the right to create the standard parent-child relationship but all I see on the page is the parent level items - no dropdown!. So I changed themes from Platform5 to the standard 2015 default theme and now I see absolutely no menu at top, except for the mobile (hamburger?) icon.
      In DMS, one had Navi and Navbar, etc sections and each would work differently and give different results. How do you work the menu system in 5? And how get different results ?
      thanks
    • nizami
      By nizami+
      I have a problem at http://kambo.world. Using navbar for the main site navigation. It works fine in normal/desktop mode [first screenshot], using the WP Menu I have specified. But in hamburger mode it seems to do its own thing, picking a few pages at random [second screenshot] A fix for this greatly appreciated! 
       


×