Jump to content

Archived

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

flourishdesignstudio

Navi Section

Recommended Posts

flourishdesignstudio    9
flourishdesignstudio

Hi there! Where would I find the options or code that controls when the navi section transitions from a normal navigation bar to the mobile bar (that shows the three lines indicating the menu). 

 

I also need to remove the search area from the mobile version of the navi section. Even when toggled to hide the search in the normal view, it still shows in the mobile view.

 

Thanks in advance for your help!

 

 

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

hi there 

 

could we have a link to your site and will be able to help with this 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
ketri    7
ketri

Martin Davies
I believe the code that changes the menu from desktop menu to mobile is some media query breakpoint in the themes .less -files, and can be overridden in a child-themes .less files. 
Can you tell where I could find this file? I have played with it in DMS1 but now not sure if I can find it.

Thanks!

Share this post


Link to post
Share on other sites
ketri    7
ketri

Ok I believe I found it. 
It's dms/dms/sections/navbar/style.less

Line 409: 

@media (max-width: @resPortraitTablet){

and
Line439: 

@media (min-width: @resPortraitTablet + 1) {

Share this post


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

1. As ketri mentioned, you will need to use a media query.

 

2. Unfortunately, it is currently not possible to remove the search field from the mobile menu without make edits to the core code. Which is something we do not recommend nor support. However, I have already added this to tracker i.e. the ability to disable search on the mobile menu via an option.

  • Like 1

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

I was able to remove the search using CSS. 

 

GIve this a try:

 

body .pl-mobile-menu .mm-search {
display: none;
}
  • Like 1

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

 

I was able to remove the search using CSS. 

 

GIve this a try:

 

body .pl-mobile-menu .mm-search {
display: none;
}

 

Thank you for the update 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
hibbsy78+    24
hibbsy78

 

I was able to remove the search using CSS. 

 

GIve this a try:

 

body .pl-mobile-menu .mm-search {
display: none;
}

 

 

flourishdesignstudio Thanks for this!

Share this post


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

Yeah that code is hiding it, not removing it. I never provided that code as you said you wanted to remove it, which isn't actually possible without editing a core file, which we do not recommend nor support.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • lionel1
      By lionel1
      Hi,
      I use on my home page " impulse module " but when i look on my iPhone the image is cut and not responsive .
      i only have this problem with this module not with the other one .
      thanks for ur help
      website / www.elonakane.com 
      Lionel 
       
    • kwaoru
      By kwaoru
      Hi,
       
      I have been using DMS and pagelines.
      I am facing to a huge trouble with the appearance of one of my page on mobile (smart phones) built with pagelines.
      However I haven’t come to any solutions to organise either edit the appearance of mobile view to look neat or deactivate the responsive function. 
      Now it looks totally messy on the phone...
       
      1. Is there any way to edit the appearance of the mobile version (responsive theme)?
      2. Is there any way to deactivate responsive function?
       
      If I could receive support from you to go thorough this process I would be happy to be a pro member. 
       
      Looking forward to hearing from you.
    • Paul
      By Paul+
      I have woocommerce store, product shows title and price fine until reduce screen with on a tablet/mobile phone the price and title gets removed?  Any ideas? 
      Here's an example page: https://thelaptopfixers.com/product/operating-system-re-install/
      Try it on both desktop PC browser then resize to mobile/cell phone size!  
      Thanks
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
    • decmech
      By decmech+
      Hey Guys,
      Having some issues with the dropdowns for the Navi in DMS. For some reason I can't have any more than 2 levels in the dropdown. The cursor is hovering over RPAS Training (and the arrow to indicate more is visible) but no matter what browsers, it never shows up. Also inspecting the HTML shows that the additional fields are not there.
      I have inspected the PHP and cannot see anything that is limiting the number of levels. Any assistance to get the additional levels showing would be great.

×