Support for Envato Buyers › Forums › OldCar › Mobile Menu Not Working
- This topic has 25 replies, 3 voices, and was last updated 11 years, 3 months ago by FocuxTheme Support.
-
AuthorPosts
-
-
August 21, 2013 at 10:28 pm #1998edendesignMember
Hi–I’m loving this theme, however, I noticed that the mobile menu in the top right hand corner is not working on phones, tablets, or my laptop (when I reduce the browser size). My site can be found at shantipax.com. We’ve already gone live so please advise as soon as possible. Thanks and thanks for such a great theme—very easy to use and customize.
-
August 22, 2013 at 1:59 am #2003MusamaMember
Hi go to “OLDCAR OPTIONS” and enable Responsive option. Thanks
-
August 22, 2013 at 2:00 am #2004MusamaMember
Hi go to “OLDCAR OPTIONS” and enable Responsive option. Thanks
-
August 22, 2013 at 2:18 am #2005edendesignMember
Ah, if it was only that easy. Under GENERAL SETTINGS, the second to the last option DISABLE RESPONSIVE is set to NO. Are there any other settings? The black menu button shows up but nothing happens when it is clicked on.
-
August 22, 2013 at 2:52 am #2006MusamaMember
give me the link
-
August 22, 2013 at 4:23 am #2007edendesignMember
shantipax.com (it was in my first post)
-
August 22, 2013 at 9:02 pm #2019FocuxTheme SupportKeymaster
Hi,
I have checked the source code of your homepage with firebug, there’s no any errors, and I have checked the other website, they are works fine, so I’m not sure it’s caused by a certain plugin, so can you disactive your plugins one by one in order to figure out whether it’s caused by plugin?
-
August 22, 2013 at 11:51 pm #2021edendesignMember
Sorry this is such a pain–I really appreciate your help and quick response. I disabled all of the plug-ins AND deleted all of my custom CSS and the responsive menu will still not work. I tried turning DISABLE RESPONSIVE to YES and the small black menu still appears but still doesn’t work. Could something be wrong with a functions file? I’ve attached the code that is there for the responsive header. Would it help if I give you login access to the site?
Thanks!
Jen<!– =================================================================================== ============== Responsive Header ===================================================================================== –> <header class="responsive-header"> <h1 class="responsive-logo">"><?php bloginfo('name');?></h1> <div class="responsive-menu"> <?php if (($locations = get_nav_menu_locations()) && $locations['sidemenu'] ):?> <div class="menu-trigger"><span><?php _e('Menu','OldCar');?></span></div> <?php endif;?> <?php wp_nav_menu(array( 'theme_location' => 'sidemenu', 'container' => '', 'menu_class' => 'hidden', 'echo' => true, 'depth' => 4) ); ?> </div> </header>
-
August 22, 2013 at 11:58 pm #2022edendesignMember
This is the code from van-functions
>array( 'id' => 'isResponsive', 'type' => 'button_set', 'options' => array('1' => 'No', '0' => 'Yes'), 'title' => __('Disable Responsive','OldCar'), 'sub_desc' => __('If you selected Yes, the website will be displayed as desktop version on your smartphone and iPad','OldCar'), 'std' => 1 ),
-
August 23, 2013 at 3:59 am #2025MusamaMember
did u wrote a js code in the custom js code? if not try to delete the menu & recreate it
-
August 23, 2013 at 4:01 am #2026edendesignMember
No, I did not do any custom js. I don’t know js very well. How do would I go about deleting the menu and recreating it? Can you give me specifics? Thanks!
-
August 23, 2013 at 5:51 am #2027MusamaMember
ok go to ” Appearance>menus ” delete the old menu & create a new one & name it. you will see a “pages” widget in your left add all the pages you want to this menu you can order the menu item by drag-&-drop then save it, & check if it works.
-
August 23, 2013 at 10:48 pm #2039edendesignMember
Thanks, sorry, I thought you were meaning you wanted me to code something. I deleted the old menu and created a new one. It still doesn’t work. Are there any plugins that I need with this theme that maybe didn’t install?
-
August 24, 2013 at 4:38 am #2043FocuxTheme SupportKeymaster
It’s nothing to do with the PHP function codes, the menu is worked fine on another website but yours.
You can post your login information with private reply, I will check your settings. -
August 24, 2013 at 5:00 am #2050edendesignMemberThis reply has been marked as private.
-
August 25, 2013 at 6:42 pm #2053FocuxTheme SupportKeymaster
Hi, is it possible to reinstall V1.4? now it’s available on themeforest, I have improved the mobile menu in this version.
-
August 30, 2013 at 8:48 pm #2126edendesignMember
Just wanted to let you know that I finally figured out what was keeping the mobile menu from working. I am using fontawesome for some icons and had placed their code in the custom header section. I copied from their site: //netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css
and ended up putting http: in front of their //. That fixed the issue instantly.
One last issue: Have you had any instances of the right hand side of the page getting cut off in Safari? My client is having this issue but I can’t recreate it on any of my devices.
Thanks again for helping me troubleshoot this.
-
August 31, 2013 at 8:19 pm #2139FocuxTheme SupportKeymaster
Hi
For safari problem, what’s the version of safari you or your client used? And what’s resolution of the screen?
I can’t access to shantipax.com, not sure why, maybe our country has block the ip address, so I can’t check your site anymore.
And how about the demo site on your safari? http://demo.themevan.com/oldcar -
September 6, 2013 at 4:12 am #2231edendesignMember
She upgraded to the latest version of Safari but still has the issue–she also has it on your demo site. She is in Brussels–could this have anything to do with it? Her laptop is a 15 inch–I’m not sure what resolution she has it set to.
-
September 6, 2013 at 5:09 am #2232MusamaMember
Hi could you please send us a screeshot of the page ?? Thanks
-
September 7, 2013 at 2:43 am #2240FocuxTheme SupportKeymaster
Hi
Try to add the following codes into “Oldcar options > custom code > javascript code”
jQuery(document).ready(function($){ function resetMain(){ var sidebarWidth=$('#sidebar').width(); var mainWidth=$(window).width()-sidebarWidth-60; if($(window).width()> 1023){ $('#main').css('width',mainWidth+'px'); }else{ $('#main').css('width','auto'); } } resetMain(); $(window).resize(function(){ resetMain(); }); });
If you found any issues after you added this code, please let me know, I will keep improve.
Also, after I release the next version and you update the theme in the future, you can remove the additional code above.Thanks for your feedback!
-
September 20, 2013 at 2:05 am #2390edendesignMemberThis reply has been marked as private.
-
September 21, 2013 at 1:51 am #2401FocuxTheme SupportKeymaster
I checked the source code, it’s the code pasted problem, the code you pasted is different from the orignal codes, try again with following code.
jQuery(document).ready(function($){
function resetMain(){
var sidebarWidth=$(‘#sidebar’).width();
var mainWidth=$(window).width()-sidebarWidth-60;
if($(window).width()> 1023){
$(‘#main’).css(‘width’,mainWidth+’px’);
}else{
$(‘#main’).css(‘width’,’auto’);
}
}
resetMain();
$(window).resize(function(){
resetMain();
});
});Or send me your wordpress login information, I will do that.
-
September 21, 2013 at 5:50 am #2410edendesignMemberThis reply has been marked as private.
-
September 21, 2013 at 5:51 am #2411edendesignMemberThis reply has been marked as private.
-
September 22, 2013 at 2:35 am #2414FocuxTheme SupportKeymaster
Hi, I have added those codes, please check it on your browser or screen.
-
-
AuthorPosts
- You must be logged in to reply to this topic.