Jump to content

Archived

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

flourishdesignstudio

Navi Section

Recommended Posts

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

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

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

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. 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.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
flourishdesignstudio

I was able to remove the search using CSS. 

 

GIve this a try:

 

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

Share this post


Link to post
Share on other sites
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

 

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

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

    • Liv Kundalini
      By Liv Kundalini+
      Hi -
      Pulling my hair out over here, and would love an assist!
      Site I am building, http://www.livkundalini.com/home, has a problem with the submenu items in the nav not appearing. 
      If anyone wants to see what the Nav should look like, feel free to look in the footer on the left hand side.
      Have tried disabling Pagelines and using the twentyseventeen theme, but problem persists.
      Saw this error (pasted at the bottom of this post) displaying in the inspector, and saw discussion of Jetpack potentially being a culprit. Disabled Jetpack, but the problem persists.
      Had the hosting company even flush the server-side cache, but no avail.
      Any thoughts? Please? It's the only thing keeping me from launching this site!
      Many Thanks,
      Todd
       
      WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403   O @ (index):7
    • stijnxo
      By stijnxo+
      Is there a way to disable the responsive function of your iBoxes?
      I do not want all iBoxes underneath each other on mobile, is there a way to fix columns or group boxes?
      I use them for small links and want them to stay next to each other, see attachment
      Please let me know.



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