Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi
    I’m having the same problem when opening images on smartphones. I’ve configured jQuery Colorbox to adjust the width and height of images to 100%.

    Is there any solution?

    I read somewhere that this problem could be related to the header.php file for my theme. The following is copied from the beginning of that file:

    <?php
    /**
    * The Header for our theme
    *
    * Displays all of the <head> section and everything up till <div id=”main”>
    *
    * @package WordPress
    * @subpackage Twenty_Fourteen
    * @since Twenty Fourteen 1.0
    */
    ?><!DOCTYPE html>
    <!–[if IE 7]>
    <html class=”ie ie7″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if IE 8]>
    <html class=”ie ie8″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if !(IE 7) | !(IE 8) ]><!–>
    <html <?php language_attributes(); ?>>
    <!–<![endif]–>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width”>
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <link rel=”profile” href=”https://gmpg.org/xfn/11″&gt;
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    <!–[if lt IE 9]>
    <script src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
    <![endif]–>
    <?php wp_head(); ?>
    </head>

    Is there anything wrong here?

    I also want to add that this problem is present when using Firefox on smartphones. When using Safari and other browsers on smartphones, it seems like the image is displayed in the upper left corner. Even if I think it would be nice if it’s displayed in the center, i consider it ok.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pictures opens low in the screen’ is closed to new replies.