TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,947
  • Latest: sgm09
Stats
  • Total Posts: 195,774
  • Total Topics: 21,279
  • Online today: 311
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

impulse2 not mobile friendly according to google How to Configure the Viewport

Started by abraamz, April 17, 2015, 10:13:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

abraamz

Hello I am human enough and I found the secret word! (obviously)

Link to my forum: www dot  mwrakia dot gr
SMF version: 2.0.5 and installing to 2.0.9

Default Forum Language: Greek
Theme name and version: imPulse2

Mods installed: A lot...
Related Error messages:
Google's Mobile-Friendly Test says the website is failing to pass. Also from 21 of April this is going to hurt the overall google rating. I am trying to change whatever I can.

So,
Is there an easy way to Configure the Viewport?

IchBin

I haven't kept up on the details of Bloc's themes, but I'm wondering if his impulse theme was even made with mobile in mind? Regardless, I think google is only looking for this tag to be in the <head> of the theme.

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

Put that somewhere before the </head> tag in the index.template.php file. See if that helps.

abraamz

Thank you very much  :)
This changed my score from 60/100 to  85 / 100 User Experience
:2funny:  :uglystupid2:

I will post more questions if needed.  O0

bloc

The theme isn't mobile-optimised no. So testing for it will always fail.

Great suggestion adding the meta tag, Brad. :)

abraamz


G6Cad


This website is proudly hosted on Crocweb Cloud Website Hosting.