I want to hide menu responsive

Home Forums WordPress Theme Support BresponZive Mag I want to hide menu responsive

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  Raja CRN 9 years ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5075

    Juanito
    Member

    Hi

    Please help me, I want to hide menu responsive dropdown because it is ugly, I have my own menu responsive better than the menu dropdown.

    Please visit my web site for see: http://www.fifabolivia.com

    Thanks

    #5102

    Raja CRN
    Keymaster

    Hi,

    Yes, You can remove it. Edit tpcrn_scripts.js file in js folder.

    There delete the section of the code to remove the responsive menu.

    /*Create the dropdown bases ……
    ……
    The code to be removed here.
    …..
    /*Create the dropdown bases

    Hope you got it. Sorry for the delayed response.

    #5109

    Juanito
    Member

    Sorry, but the code it is something different:

    Please, What lines should eliminate exactly?

    thank

    /*
        File Name: tpcrn_scripts.js
        Author : Raja CRN
    	by ThemePacific
     */
     jQuery(document).ready(function () {
      	  jQuery('.tabs_container2 .tab_content2:first').show();
            jQuery('.tabs2 li:first').addClass('active');
            jQuery.each(jQuery('.tabs2 li'),function(i,el){
                jQuery(el).click(function(){
                    jQuery('.tabs_container2 .tab_content2').slideUp();
                    jQuery('.tabs_container2 .tab_content2').eq(i).slideDown();
                    jQuery('.tabs2 li').removeClass('active');
                    jQuery(this).addClass('active');
                     return false;
                });
             });
     /*Create the dropdown bases thanks to @chriscoyier*/
    jQuery("#catnav.secondary").append('<select class="resp-nav container">');
    	/* Create default option "Go to..."*/
    	jQuery("<option />", {
    	"selected": "selected",
    	"value"   : "",
    	"text"    : "Select Menu"
    	}).appendTo("#catnav.secondary select");
    /* Populate dropdowns with the first menu items*/
    jQuery("#catnav.secondary li ").each(function() {
    	var href = jQuery(this).children('a').attr('href');
    	var text = jQuery(this).children('a').html();
    	var depth = jQuery(this).parents('ul').length;
    	text = (depth > 1) ?   ' &nbsp;&mdash; ' + text : text;
    	text = (depth > 2) ?   '&nbsp;&nbsp;'+ text : text;
    	text = (depth > 3) ?   '&nbsp;&nbsp;&nbsp;&mdash;'+ text : text;
    	 jQuery("#catnav.secondary select").append('<option value="' + href + '">' + text + '</option>');
    });
    /*make responsive dropdown menu actually work			*/
    jQuery("#catnav.secondary select").change(function() {
    	window.location = jQuery(this).find("option:selected").val();
    });
    
    /*cat nav menu*/
     
    jQuery("#catnav ul li:has(ul)").addClass("parent"); 
     jQuery(".catnav li").hover(function () {
     jQuery(this).has('ul').addClass("dropme");
     jQuery(this).find('ul:first').css({display: "none"}).stop(true, true).slideDown(500);}, function () {
     jQuery(this).removeClass("dropme");
     jQuery(this).find('ul:first').css({display: "block"}).stop(true, true).slideUp(1000);
     });
    });
    #5121

    Raja CRN
    Keymaster
    jQuery("#catnav.secondary").append('<select class="resp-nav container">');
    	/* Create default option "Go to..."*/
    	jQuery("<option />", {
    	"selected": "selected",
    	"value"   : "",
    	"text"    : "Select Menu"
    	}).appendTo("#catnav.secondary select");
    /* Populate dropdowns with the first menu items*/
    jQuery("#catnav.secondary li ").each(function() {
    	var href = jQuery(this).children('a').attr('href');
    	var text = jQuery(this).children('a').html();
    	var depth = jQuery(this).parents('ul').length;
    	text = (depth > 1) ?   ' &nbsp;&mdash; ' + text : text;
    	text = (depth > 2) ?   '&nbsp;&nbsp;'+ text : text;
    	text = (depth > 3) ?   '&nbsp;&nbsp;&nbsp;&mdash;'+ text : text;
    	 jQuery("#catnav.secondary select").append('<option value="' + href + '">' + text + '</option>');
    });
    /*make responsive dropdown menu actually work			*/
    jQuery("#catnav.secondary select").change(function() {
    	window.location = jQuery(this).find("option:selected").val();
    });
    #5134

    Juanito
    Member

    I have not solved my problem

    Responsive Menu

    #5138

    Raja CRN
    Keymaster

    Hello,

    We don’t see that responsive menu in our browser. That could be returned from browser cache file. Try to open your site in different browser and also clear your browser cache.

    #5142

    Juanito
    Member

    Hi

    I have Internet Explorer 11, but in Chrome the responsive menĂº has disappeared.

    But the button to expand and collapse my own menĂº has disappeared too and my menu is expanded.

    I need to fix this issue please.

    #5147

    Raja CRN
    Keymaster

    Hello,

    The deletion of code will not cause any issues like you mentioned. However, We’ve checked your site menu and the expand/collapse works well.

Viewing 8 posts - 1 through 8 (of 8 total)

Only Verified Customer of this Theme Can post reply to this Support Topic! .