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

Recent

Welcome to TinyPortal. Please login or sign up.

December 11, 2024, 05:53:15 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,443
  • Total Topics: 21,252
  • Online today: 88
  • Online ever: 6,457 (November 30, 2024, 02:40:09 PM)
Users Online
  • Users: 0
  • Guests: 50
  • Total: 50

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