Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • in reply to: Mobile menu not visible, desktop menu has extra 'menu' item #1007722

    Hi Victoria,

    I updated header.php and helper-main-menu.php as well as css files and the problem is now fixed.

    Thanks a lot for your help!

    Steve

    in reply to: Mobile menu not visible, desktop menu has extra 'menu' item #1006888

    Hi again Victoria / Ismael,

    I have updated to php 7.0 and deactivated Suhosin but the problem is still there.

    Can you please advise what changes I need to make to template files to fix the problem? Please keep it simple as I am not a developer.

    Thanks again,

    Steve

    in reply to: Mobile menu not visible, desktop menu has extra 'menu' item #1006878

    Thanks Victoria but this is not really helping me.

    I could ask my web host about upgrading php / disabling Suhosin but as it’s on a shared hosting plan that is unlikely or could take ages. And I have another site with the same host also using Enfold and it has no issues at all: https://welloptimised.com.au

    I still don’t know what to do about Ismael’s point:
    “The site is still using the old versions of the stylesheets because of the “enfold_enqueue_styles” in the functions.php file. You have to update the css files and the template files–e.g., header.php file in your child theme. Or remove that function completely.”

    Will upgrading php/disabling Suhosin fix the problem or do I also need to edit template files? As I said in a previous reply I am not a developer so your patient response would be much appreciated.

    in reply to: Mobile menu not visible, desktop menu has extra 'menu' item #1006494

    Hi Ismael,

    Thanks for your quick reply!

    I’m not a developer so I don’t know which css & template files to update – or how to remove the function as suggested.

    Could you provide some more info? I can replace the relevant files via FTP if you can advise where to find them.

    Thanks again,

    Steve

    in reply to: Mobile menu icon changed to girl emoji #772132

    OK, I’ve fixed the problem by removing the code:

    function modify_jquery() {
    	if (!is_admin()) {
    		wp_deregister_script('jquery');
    		wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
    		wp_enqueue_script('jquery');
    	}
    }
    add_action('init', 'modify_jquery');
    
    if(!function_exists('avia_register_frontend_scripts'))
    {
    	if(!is_admin()){
    		add_action('wp_enqueue_scripts', 'avia_register_frontend_scripts');
    	}
    
    	function avia_register_frontend_scripts()
    	{
    		$template_url = get_template_directory_uri();
    		$child_theme_url = get_stylesheet_directory_uri();
    
    		//register js
    		wp_register_script( 'avia-compat', $template_url.'/js/avia-compat.js', array('jquery'), 1, false ); 
    
    //needs to be loaded at the top to prevent bugs
    		wp_register_script( 'avia-default', $child_theme_url.'/js/avia.js', array('jquery'), 1, true );
    		wp_register_script( 'avia-shortcodes', $template_url.'/js/shortcodes.js', array('jquery'), 1, true );
    		wp_register_script( 'avia-prettyPhoto',  $child_theme_url.'/js/prettyPhoto/js/jquery.prettyPhoto.js', 
    
    'jquery', "3.1.5", true);
    		wp_register_script( 'avia-html5-video',  $template_url.'/js/mediaelement/mediaelement-and-
    
    player.min.js', 'jquery', "1", true);
    
    		wp_enqueue_script( 'jquery' );
    		wp_enqueue_script( 'avia-compat' );
    		wp_enqueue_script( 'avia-default' );
    		wp_enqueue_script( 'avia-shortcodes' );
    		wp_enqueue_script( 'avia-prettyPhoto' );
    		wp_enqueue_script( 'avia-html5-video' );
    
    		if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }
    
    		//register styles
    		wp_register_style( 'avia-style' ,  $child_theme_url."/style.css", array(), '1', 'screen' ); //register 
    
    default style.css file. only include in childthemes. has no purpose in main theme
    		wp_register_style( 'avia-grid' ,   $template_url."/css/grid.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-base' ,   $template_url."/css/base.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-layout',  $template_url."/css/layout.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-scs',     $template_url."/css/shortcodes.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-custom',  $template_url."/css/custom.css", array(), '1', 'screen' );
    		wp_register_style( 'avia-prettyP', $child_theme_url."/js/prettyPhoto/css/prettyPhoto.css", array(), 
    
    '1', 'screen' );
    		wp_register_style( 'avia-media'  , $template_url."/js/mediaelement/skin-1/mediaelementplayer.css", 
    
    array(), '1', 'screen' );
    
    		//register styles
    		if($child_theme_url !=  $template_url)
    		{
    			wp_enqueue_style( 'avia-style');
    		}
    
    		wp_enqueue_style( 'avia-grid');
    		wp_enqueue_style( 'avia-base');
    		wp_enqueue_style( 'avia-layout');
    		wp_enqueue_style( 'avia-scs');
    		wp_enqueue_style( 'avia-prettyP');
    		wp_enqueue_style( 'avia-media');
    
            global $avia;
    		$safe_name = avia_backend_safe_string($avia->base_data['prefix']);
    
            if( get_option('avia_stylesheet_exists'.$safe_name) == 'true' )
            {
                $avia_upload_dir = wp_upload_dir();
    
                $avia_dyn_stylesheet_url = $avia_upload_dir['baseurl'] . '/dynamic_avia/'.$safe_name.'.css';
                wp_register_style( 'avia-dynamic', $avia_dyn_stylesheet_url, array(), '1', 'screen' );
                wp_enqueue_style( 'avia-dynamic');
            }
    
    		wp_enqueue_style( 'avia-custom');
    
    	}
    }
    • This reply was modified 7 years, 8 months ago by skrinks.
    in reply to: Mobile menu icon changed to girl emoji #771089

    Hi guys,

    This problem has returned again. I’m running the latest version of Enfold (4.0.5) and WordPress 4.7.3, and am viewing the site on an iPhone 7 on Safari and Chrome.

    Please see previous fixes suggested by Nikko, and login details in the private content area.

    Thanks!

    in reply to: Mobile menu icon changed to girl emoji #708058

    Hi Nikko,

    It’s all good now – not sure if you changed anything between my last post and now but all is perfect on mobile and desktop.

    Thanks a lot for your help!

    Cheers,

    Steve

    in reply to: Mobile menu icon changed to girl emoji #707011

    Hi Nikko,

    That’s made it worse. Now the mobile menu has disappeared completely and other styling issues like portfolio images and icons are missing.
    Can you please reverse that change and try another solution?

    • This reply was modified 8 years, 1 month ago by skrinks. Reason: Remove URLs from public site
    in reply to: Mobile menu icon changed to girl emoji #706729

    Hi Rikard,

    I have updated all plugins and updated WP to 4.6.1. I have deactivated all plugins also and the issue is still there.

    BTW on desktop I don’t get the girl emoji but a square icon instead. (below)

    desktop

    When clicking the menu icon nothing happens but the icon changes to a cross:

    On click

    I hope you can help, as this problem renders my site unusable on mobile.

    Thanks again,

    Steve

    in reply to: Mobile menu icon changed to girl emoji #704083

    Hi Rikard,

    I have updated the theme to 3.8 and the problem is still there. I have also cleared the site cache and my browser cache.

    Looking forward to your advice.

    Thanks,

    Steve

    in reply to: Mobile menu icon changed to girl emoji #702174

    Thanks Rikard. Details are below:

    in reply to: Change H1 size on pages – Enfold theme #131398

    Sorted; I chose to not display header with page title and breadcrumb navigation, and added H1 within the main text block instead.

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