Page 1 of 1

Add "viewport" to head to fix mobile usability

Posted: Tue May 07, 2019 11:34 am
by srumberg
Version of script: 2.8.2
What terms did you try when SEARCHING for a solution: viewport

Hi Klemen,

Google is complaining that knowledgebase.php is not mobile-friendly.

Proposed solution: add this to header.inc.php

Code: Select all

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Re: Add "viewport" to head to fix mobile usability

Posted: Fri May 10, 2019 6:49 pm
by Klemen
That won't make the KB (or Hesk) mobile-friendly, but you can add the code to the head.txt (not header.txt) file and it will be included.

To make Hesk truly mobile-friendly, a user interface change is needed. You can try the unofficial Mods for Hesk or wait for the official user interface update (which I have been promising for years, but honestly will still take a long time to become a reality).

Re: Add "viewport" to head to fix mobile usability

Posted: Fri May 10, 2019 8:04 pm
by srumberg
Thank you.

FYI, the URL is mods-for-hesk.com, without the trailing "/l"

Re: Add "viewport" to head to fix mobile usability

Posted: Sat May 11, 2019 7:25 am
by Klemen
Yes, was a typo, fixed now - thanks!