Site logo

Archived topic

Mobile view

14 replies · Started by JOAQUIM GALANTE on May 23, 2020

Viewing posts 1–15 of 15

Have a way to view the site on mobile phones or tablets always like in the computer, with the same view as we see in pc ?

Hi there,

Not sure if I fully understand.

So you want to completely turn off the mobile responsive option?

I'm unable to get your site to load as well.

Let me know :)

See always one mobile the same frontpage as the computer, is it possible ? null

You could do something like this:

add_filter( 'generate_meta_viewport', function() {
    return '<meta name="viewport" content="width=1024">';
} );

Nothing happens, the view in mobile phone is not the computer view for default. Tom tell me, if it is not possible i close the topic. I ask that because the people i know like more to see the site in computer view instead mobile view. Thanks

Is the function live on the site? I'm not seeing it.

It's possible with that function, although I typically wouldn't recommend doing it.

I delete the filter because nothing hapend.

Do you recomend don't use the filter ?

Can you add the filter so I can inspect your HTML with it on the site?

I already put the filter code on Simple CSS:

add_filter( 'generate_meta_viewport', function() {
return '<meta name="viewport" content="width=1024">';
} );

but when i saved them appears:

add_filter( 'generate_meta_viewport', function() {
return '';
} )

:)

Thanks David but when i add the code to pluginception my site turn all blank, i need to enter in c-panel and delete the plugin to recover the site. :(

I can´t install the code-snippets plugin because give a fatal error when i activate it and i must remove the plugin in security mode.

Hi, finaly i could install code-snippets, the code works :)
Thanks a lot.

Glad to hear that !

This archived topic is closed to new replies.