Home>Support>Page is no resizeable on iPad or maybe other portable devices
  1. 9 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Hi Yardstudio

    Have you managed to resolve? All looks good on my side.

  2. 9 years, 4 months ago Andrew Misplon
    Hi, I Work Here

    Apologies, I see the issue. It’s specific to Safari and will be resolved in the next update. If you feel comfortable making a small edit to functions.php we can resolve as follows:

    1. Go to Appearance > Editor.
    2. Edit functions.php.
    3. Scroll down to near the bottom and locate the following line:

    if( siteorigin_setting('responsive_enabled') ) {
    

    Directly below, replace the line that’s there with the following:

    ?><meta name="viewport" content="width=device-width, initial-scale=1" /><?php
    

    OR just carefully delete this section:

    , user-scalable=0'
    

    If you’d like us to make this change, please send through a set of temporary login details using the Private Reply checkbox below.

    Please keep in mind that even a small error in functions.php can cause your theme to not render. As a result it’s best to make this change with FTP access available to you. If a problem does occur, go to /wp-content/themes/ on your server and delete the “origami” folder. Access will be restored to WordPress and you can re-install.

    Let me know how you’d like to proceed and we’ll go from there.

    Thanks

  3. 9 years, 3 months ago yardstudio

    Hi Andrew,

    thanks for reply

    I am using child theme and there have functions.php inserted from child theme creator script. It contains this code:

  4. 9 years, 3 months ago yardstudio

    The same error when inserting only

  5. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Ok super. In that case, add the following to your child functions.php file:

    remove_action( 'wp_head', 'origami_wp_header' );
    function origami_child_wp_header(){
    	if( siteorigin_setting('responsive_enabled') ) {
    		?><meta name="viewport" content="width=device-width, initial-scale=1" /><?php
    	}
    	else {
    		?><meta name='viewport' content='width=1100' /><?php
    	}
    
    	// Make sure we don't use compatibility mode
    	?><meta http-equiv="X-UA-Compatible" content="IE=edge" /><?php
    
    }
    add_action('wp_head', 'origami_child_wp_header');
    

    Ideally don’t edit your child functions.php file without FTP access ready. If there is an error you’ll need to login to your server to make a quick change.

  6. 9 years, 3 months ago yardstudio

    I am sorry, but this

    <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
    
    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:
    
            
    if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
        function chld_thm_cfg_parent_css() {
            wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css' );
        }
    endif;
    add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css' );
    
    // END ENQUEUE PARENT ACTION
    
    // siteorigin functions.php content inserted here
    
    remove_action( 'wp_head', 'origami_wp_header' );
    function origami_child_wp_header(){
    	if( siteorigin_setting('responsive_enabled') ) {
    		?><meta name="viewport" content="width=device-width, initial-scale=1" /><?php
    	}
    	else {
    		?><meta name='viewport' content='width=1100' /><?php
    	}
    
    	// Make sure we don't use compatibility mode
    	?><meta http-equiv="X-UA-Compatible" content="IE=edge" /><?php
    
    }
    add_action('wp_head', 'origami_child_wp_header');

    doesn´t working

    when I make change directly in functions.php in original theme, this works

  7. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the update. You can remove everything from the comment // siteorigin functions.php content inserted here down. If the change in parent functions.php works then we can leave it there. We will be making this same change in the next update so it’s ok to edit the parent theme directly.

    Thanks

  8. 9 years, 3 months ago yardstudio

    OK, thanks for quick replying and support, have nice day

  9. 9 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    For sure, you too. Thanks for your understanding.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More