This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Default view for Web Portal

Hi all,

 

is there a way to set the default view mode for web portal (desktop or mobile)? I read on documentation that the view mode is choosen automatically, but I'd like to force it to desktop mode as default. Employee will switch to mobile if needed.

 

Thanks,

Dario

Parents
  • Hi Bastian,

    You can configure the way that the application recognizes mobile devices.

    In WebDesigner, look up the configuration key "IMX_Mediaquery_Smartphone". This key contains a CSS media query which is used to enable the mobile view depending on device properties.

    The default setting for this key is "all and (max-width: 760px)". Apparently this query matches surface books.

    As an idea, you could set this to something that never matches. This would effectively disable the mobile view for *all* devices though.

    HTH

    Hanno
Reply
  • Hi Bastian,

    You can configure the way that the application recognizes mobile devices.

    In WebDesigner, look up the configuration key "IMX_Mediaquery_Smartphone". This key contains a CSS media query which is used to enable the mobile view depending on device properties.

    The default setting for this key is "all and (max-width: 760px)". Apparently this query matches surface books.

    As an idea, you could set this to something that never matches. This would effectively disable the mobile view for *all* devices though.

    HTH

    Hanno
Children
No Data