Jump to content

Archived

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

glennyboy

DMS Navbar Turn off Responsive

Recommended Posts

glennyboy    9
glennyboy

Hi

 

I'm guessing I have a Theme conflict or script issue (possible due to UberMenu), but either way the Navbar responsive button is triggering and then switching straight back to display none from block so there is a flash and it dissappears. This is not an issue coming from my own theme styling as I've tested by removing all that and the issue persists. As such is there anyway to remove the responsive nature of the nav menu?

 

Thanks

 

Glennyboy

 

 

Share this post


Link to post
Share on other sites
James B    436
James B

You can stop the nav collapsing in to the mobile nav and having the push button etc.

 

See Danny's post at the bottom of this thread - http://forum.pagelines.com/topic/26261-change-responsive-trigger-width-of-navbar/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
glennyboy    9
glennyboy

Hi

 

Not sure why Pagelines can't just show this, rather than directing to .less file, but this is how I achieved my request to remove the responsive menu altogether:-

@media (max-width: @resPortraitTablet) {#site .navbar .nav-collapse {
height: auto !important;
overflow: visible !important;
}
#site .navbar .nav-btn-navbar {
display: none!important;
}
}

Doesn't explain the toggle issue I also had though.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

We do not provide customization support of this nature that is why we do not provide the code, our custom CSS support isn't extensive.

 

In regards to your toggle button, not sure what you mean do you have an example?


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
glennyboy    9
glennyboy

"the Navbar responsive button is triggering and then switching straight back to display none from block"

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Its likely caused by your custom code, you will want to review it, from a quick look, you're using both the PageLines override ID #site and !important declaration, this is most likely the cause. The purpose of the override ID #site or #page is so that you do not need to use !important.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
glennyboy    9
glennyboy

Hi

 

Just to confirm that this issue was before I added the code above. Actually as per my original post the reason I don';t want the nav to work responsively is that it wasn't working on click.

 

I have a bit of custom Javascript which I will check, but I don't think it would be that as it runs in no conflict mode.

 

Regards

 

Glennyboy

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

I have no issue on my vanilla install of DMS with the Navbar, when the responsive Nav kicks in, the button works just fine, no issues.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • 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! 
       


×