• Resolved ruudiz

    (@ruudiz)


    Hello!

    When testing page with web.dev tool, I get a message:

    [user-scalable="no"] is used in the <meta name="viewport"> element or the [maximum-scale] attribute is less than 5.

    When I visit header.php I see:

    <?php $viewport_content = apply_filters( 'hello_elementor_viewport_content', 'width=device-width, initial-scale=1' ); ?>
    <meta name="viewport" content="<?php echo esc_attr( $viewport_content ); ?>">

    I added maximum-scale=5 so currently header viewport code is:

    <?php $viewport_content = apply_filters( 'hello_elementor_viewport_content', 'width=device-width, initial-scale=1, maximum-scale=5' ); ?>
    <meta name="viewport" content="<?php echo esc_attr( $viewport_content ); ?>">

    Even when I add maximum-scale=5 and clear caches I still get the same message from web.dev tool.

    What could be the issue?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hello Theme viewport – [user-scalable=”no”] or [maximum-scale] is less than 5.’ is closed to new replies.