Viewport

Add Viewport in the <head> in Drupal 7

| 3 views

In this Drupal Tutorial I will show how to add a new HTML in Drupal 7 head section. I'm using responsive design to enable my blog work pretty ok on mobile devices, but yesterday looking through Google PageSpeed Insights suggestions I found that there is no viewport defined, so it might not render CSS as I might want, but instead to scale webpage to device. Your page does not have a viewport specified. This causes mobile devices to render your page as it would appear on a desktop browser,…