• Resolved karolsk

    (@karolsk)


    Hallo. I have some quastions maybe someone can help me ??
    First is about social links above menu, is there a way to change them in to country flags and link them to other languagers pages?

    Second is about menu. I have two problems with it. First is text color, when menu is highligted and mouse is on it I can’t see witch chart i’m using. there is also problem with dropdown menu. it doesn’t hide back.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter karolsk

    (@karolsk)

    Also where can I change font below slideshow cos it doesnt support Polish letters?

    Thread Starter karolsk

    (@karolsk)

    ???

    Hi,

    Go to core theme directory >> Open “menu.js” file into any text editor.

    Now copy the below line of code.

    jQuery(document).ready(function() {
    		var bMobile;  // true if in mobile mode
    		var isMobile;
    		// Initiate event handlers
    		function init() {
    			var isMobile = {
    				Android: function() {
    					return navigator.userAgent.match(/Android/i);
    				},
    				BlackBerry: function() {
    					return navigator.userAgent.match(/BlackBerry/i);
    				},
    				iOS: function() {
    					return navigator.userAgent.match(/iPhone|iPad|iPod/i);
    				},
    				Opera: function() {
    					return navigator.userAgent.match(/Opera Mini/i);
    				},
    				Windows: function() {
    					return navigator.userAgent.match(/IEMobile/i);
    				},
    				any: function() {
    					return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
    				}
    			};
    
    			var oMenus = jQuery('.navbar-nav  .dropdown'),nTimer;
    			if( isMobile.any() ) {
    				// Set up menu on click for Mobile and ipad mode
    				oMenus.on({
    				  'mouseenter touchstart': function(event) {
    					event.preventDefault();
    					clearTimeout(nTimer);
    					oMenus.removeClass('open');
    					jQuery(this).addClass('open').slideDown();
    				  },});
    				jQuery('ul.dropdown-menu li a').on('click touchend', function() {
    					var link = jQuery(this).attr('href');
    					window.open(link,'_self'); // opens in new window as requested
    					return false; // prevent anchor click
    				});
    			} else {
    				oMenus.on({'mouseenter touchstart': function(event) {
    					event.preventDefault();
    					clearTimeout(nTimer);
    					oMenus.removeClass('open');
    					jQuery(this).addClass('open').slideDown();
    					},
    					'mouseleave': function() {
    					nTimer = setTimeout(function() {
    					  oMenus.removeClass('open');
    					}, 500);
    					}
    				});
    			}
    		}
    		jQuery(document).ready(function() {
    		  // Your other code to run on DOM ready...
    		  init();
    		});
    		jQuery(window).resize(init);
    	});

    and replace with “menu.js” file code.

    Now save the changes.

    For drop-down menu color Go to custom css editor.

    Now write below css rules into custom css editor.

    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color:#13afeb; color:#fff;}

    Now save the changes.

    Please share the website URL also.

    Thanks

    Thread Starter karolsk

    (@karolsk)

    Hi. I’m not a pro on this just starting but I can’t find menu.js I looked everywhere and I didn’t finde this file. I created it and put in core/theme-options/js and on /js folders. There were no results. I dont have premium version just basic is it the difrence?

    Thread Starter karolsk

    (@karolsk)

    web url is beta now and it is https://www.beta.taxlex.pl

    Hi,

    please backup your code and update your theme package with updated

    version.

    Then check your menu its working or not.

    If not, then follow the above solution.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Social links and menu quastions’ is closed to new replies.