[Resolved] See layout of the site on phone like on PC

Home Forums Support [Resolved] See layout of the site on phone like on PC

Home Forums Support See layout of the site on phone like on PC

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1619801
    JOAQUIM GALANTE

    Hi,

    I have two php codes to do that but none of them work.

    add_filter( ‘generate_meta_viewport’, function() {
    return ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1,user-scalable=0″ />’;
    } );

    and

    add_filter( ‘generate_meta_viewport’, function() {
    return ‘<meta name=”viewport” content=”width=1024″>’;
    } );

    Can tou have solution for it or it is impossible ?

    Thanks a lot

    https://focusmsn.pt/

    #1620277
    David
    Staff
    Customer Support

    Hi there,

    those codes should work – but i am not sure how setting that layout would work on a Mobile device, you have responsive sliders and the Post Grid hero which would cause problems being viewed on such a small screen.

    #1620300
    JOAQUIM GALANTE

    David, but when i choose in mobile, the option, view as on PC the view is good.

    https://focusmsn.pt/15101-2 just you can see in the link

    #1621101
    David
    Staff
    Customer Support

    Doing that is going to bring down the wrath of the Search Engines on you. When they crawl the site it won’t pass Mobile friendly tests as you will get ‘text too small to read’ and ‘clickable elements too close together errors’.

    #1622673
    JOAQUIM GALANTE

    Ok David, thanks a lot

    #1623395
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.