News: When asking for support, it helps us and you, if you read the Posting Guidelines

Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

November 18, 2019, 08:50:50 PM

Login with username, password and session length

Recent

Members
Stats
  • Total Posts: 189259
  • Total Topics: 20772
  • Online Today: 332
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 127
Total: 127

Author Topic: impulse2 not mobile friendly according to google How to Configure the Viewport  (Read 8014 times)

0 Members and 1 Guest are viewing this topic.

Offline abraamz

  • Newbie
  • *
  • Posts: 4
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?

Offline IchBin™

  • Developer
  • *
  • Posts: 16228
    • My Website
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.

Code: [Select]
<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.

Offline abraamz

  • Newbie
  • *
  • Posts: 4
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

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
The theme isn't mobile-optimised no. So testing for it will always fail.

Great suggestion adding the meta tag, Brad. :)

Offline abraamz

  • Newbie
  • *
  • Posts: 4
Hi Bloc
Great to hear from you. Thanks for the great themes. :)

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
IchBin is somehat a SMART lad  O0  ^-^