No search results were found in Documentation!
Hi
The content from mobile menu it’s generated by menu-mobile.php here: http://screencast.com/t/C3Nf8vS2 but the animation which display/hide the menu, when the icon it’s clicked, it’s generated by JavaScript here: http://screencast.com/t/IR9t0vqvHbMO
Thanks!
What file is the mobile menu kept in? The menu that slides out from the left on mobile devices?
Hi,
For the mobile version you have to use different code as the classes are different. (it’s a different menu)
You can use this code:
.menu-item-53 ul li:nth-child(4)::before {
content: "\f040";
font: normal normal normal 14px/1 FontAwesome;
margin-right: 5px;
position: relative;
}
It will need some further positioning though.
Thanks.
hello,
It worked like a charm. But the icons in the sub menu are not appearing in the mobile menu, whereas the icons of main menu are appearing. Are the menuids different for the mobile menu?
Hi.
If you want to remove the main menu/ mobile menu, you have to remove tis part from the header style you use:
http://screencast.com/t/yIwud1VcKeh
Thanks.
Hi i have Newsmag theme 2.2
i want to make default wordpress comment box very attractive .
can the wordpress comments can be toggled like the menu in the mobile view for this theme
the comment box should be open with smaller dimension and whenever the user click on the comment box to enter the comment the other fields can be shown to user is that possible ??
Thanks for your answer Andrei, and for taking the time to find the link to the JS code.
I was trying to get a solution that works purely from the child-theme, hence my attempt to solve it from menu-mobile.php, but will give a go to yours 😉
Hi Andrei,
i tried the solution, and generally it works. But the banner is just visible for a second. when the page is loaded fully the banner disapears. when you scroll the page on a mobile you can see the banner is “behind” the navigation and disapears when the sticky menue is visible on the screen.
do you have any idea how to fix this problem?
Markus
Hi
You don’t have to edit the menu-mobile.php. The point if to register a new menu in td-menu.php then load this menu only when a mobile devices is detected. For this you will need a custom javascript which detect the screen width and loads the menu conditional. You can take a look at the examples from this topic, it may help you to develop the required code:http://stackoverflow.com/questions/1504459/getting-the-screen-resolution-using-php
Also follow the exact instructions from the above topic to register the new menu but you have to adapt it in order to be loaded only for mobile devices.
Thanks!
Hello,
The search icon does not work anymore (as well as your mobile menu) due to a js error. This is most of the time a plugin conflict. Please disable all your plugins except visual composer and clear cache and it should work fine again. Then you need to identify the plugin that causes the issue.
As for the menu item, you can create a custom link: http://screencast.com/t/GNxckduyl
It depends on the header style you use for the modification as the search icon is not positioned in the same way.
For example I used this code on my end:
.menu-item-57{
position: absolute!important;
right: 30px!important;
top: 50%!important;
margin-top: -24px!important;
}
for this result: http://screencast.com/t/PiL7y2m4d
This is on the default header style. Every menu item has a unique class. Mine was 57. Youcan use your browser inspector to get your menu item number and replace it in the code.
Thank you!
Hi guys,
I am using the Superfly menu plugin and have a requirement to disable the top, main navigation and mobile menus.
I can see how to easily disable the top menu but the main navigation and mobile menus there is no option in the theme panel.
Ideally would rather alter the theme code files to remove theme as I have found previously when I hide with css some elements show for a split second before hiding.
Thank you
Hi,
I managed to create and insert a new menu for the mobile view.
It shows up in the admin panel and loads the elements in the front-end perfectly, but somehow it’s breaking the code of the submenus (both standard and mega menus) that I have in the main menu.
Let’s see if I can make it more clear:
If I open ‘menu-mobile.php’ and switch back to using ‘header-menu’ everything gets back to normal (submenus in the desktop view appear as they should) but when using my new ‘mobile-menu’ they just show a list of subcategories, unstyled and without images.
I tried using other menus in my ‘menu-mobile.php’, or even deleting all the code related to loading one, but the same keeps happening. It somehow seems to need ‘header-menu’ to be loaded in there.
Do you have any clue of how to solve this issue?
[Note]
Just to see if the problem was coming from my new menu I tried to use both at the same time.
In this scenario everything works as it should, but well, It’s not ideal to have both menus in the mobile view, isn’t it? 🙂
Hi i have Newsmag Theme v2.2
i want to know is there any way that i could get different menu for WEB and different menu for Mobile .??
if yes how can i achieve this.
Hello factoryitalia,
Unfortunately, our theme does not have such an option from the Theme panel to simply change the menu for the mobile version. This thing you can do it only from the code, altering the source code from this menu-mobile.php file like this -> http://screencast.com/t/qFqcIKN5LdS If you did something changes in this file and you are not aware the steps to redo this, you can try to download again the file of our theme from Theme Forest and replace it with this file, as a suggestion.
Hope this helps!
Than kyu for the message!
Hello factoryitalia,
I have checked your website and I saw the problem with the mobile menu. I suspect this issue that come from your untested plugins used by you. It could generate some conflicts between our theme and these kinds of plugins and bring this error. Please try to disable all the active plugins, leave just Visual Composer and install only the plugins that come bundled with our theme and rule out the conflicting plugins. Check the results after this advice and let us know how it goes.
Thank you for the message!
I’m changing the color on the field MOBILE MENU – BACKGROUND COLOR put in the cell is not changing . Why not applying this effect?
in the main mobile menu categories not appear , only the bar , where you activate ?
the web site: http://www.factoryitalia.com/wp
Hello firetoss,
Unfortunately, this kind of plugin is not tested with our theme and we have not idea about the theme behaviour with this plugin, sorry. You should try to instal it on your side and see how it works for you. Please notice that we have a list with tested plugins like this -> http://screencast.com/t/QuMzIjuW which the theme works fine and also we cannot provide support for untested plugins. If you want to change the code where the menu is generated, you have to alter the code from these files -> menu-mobile.php and header-menu.php. -> http://screencast.com/t/5aNvKGFvrA -> http://screencast.com/t/xatfi0Js
If you want to display more levels in our theme and you are not aware the steps in this regard, please consider hiring a freelancer/developer to implement this functionality for you because we cannot provide custom services at the moment, sorry!
Thank you for your understanding!
Is there a way to disable the built in hamburger menu of the theme and use ShiftNav instead.
Thanks in advance.
Hello chand3g,
I have checked your website and saw that you are using Header Style 8. Please try the code below and add it in Theme panel->Custom CSS area and then your top bar menu will be displayed in the mobile version.
The code is ->
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-style-8 .td-header-top-menu {
display: block!important;
}
.td-header-sp-top-menu {
display: block !important;
}
.td-header-style-8 .td-header-top-menu {
margin-left:0;
width: 100%;
}
}
The result you should see here -> http://screencast.com/t/MRdAUcys3PK
For your second request, unfortunately, I do not understand very good on what you are referring to. Please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Hello chand3g,
The top menu does not appear on the mobile version by default. This was a design choice. It can however be activated with custom css:
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-sp-top-menu{
display:block!important;
}
.td-header-sp-top-widget{
display:none!important;
}
}
The result you should see here -> http://screencast.com/t/VIQA4SZydh
Thank you for the message!
Hi,
Thanks for developing this great theme. I have just bought the theme. I want the top menu in the mobile version too. I have used custom css mentioned here in old comments asked by the buyers. But the css isn’t working with me. Let me know how to do it.
Thank you.
Hi
The code should look like in this screen: http://screencast.com/t/NJtcqnrJ Just replace all code from header-menu.php file with this one: http://pastebin.com/19NaFmcg and replace the page id and image url as i indicated in the screen.
To increase the logo size on mobile devices use this css in theme panle > custom code > custom css: http://screencast.com/t/OMrlgBHyp1yv and modify the width value as you want:
@media (max-width: 767px){
.td-main-menu-logo img {
width: 70%;
}
}
Thanks!
Theme is responsive, WP-Touch can cause issues with sites which are already responsive and mobile ready.
Also try disabling the loading of visual composer on all pages/posts except for home page — this is also covered in my long-winded optimization post in the tutororials/DIY/best of forum section.
Ad Rotate Pro *not* an issue. We use it here and have for years.
Newspaper adds share buttons top/bottom of each post – from post settings; but not ALL sharing buttons, just the main popular ones. I use a plugin that is super lightweight “simple sharing buttons” but doesn’t do the “numbers” just the buttons. That is usually not the issue.
Jetpack can slow down site as you’re loading all those elements externally and adding to overhead.
To be honest, I suspect it’s the WP-Touch and possibly your server is setup like ours was, where traffic spikes would kill the site — in our case it was the related posts, mega-menu, and loading visual composer. Disabling those solved it for us.
Hey @andrei_luca
I found the header-menu.php file, but I don’t figure out what should I change to have my different headers as I have on the desktop version ? Should I change the “true” or “false” values ? Sorry I’m not really into coding.
Here is the link of my website : http://www.questions-de-management.com
As you can see on mobile version, the header is really really small.
Thanks a lot !
Pierre