Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome, Guest. Please login or register.
Did you miss your activation email?

February 04, 2023, 02:20:06 AM

Login with username, password and session length
  • Total Members: 3856
  • Latest: Bixby
  • Total Posts: 193939
  • Total Topics: 21130
  • Online today: 51
  • Online ever: 3540
  • (September 02, 2022, 06:38:54 PM)
Users Online
Users: 2
Guests: 53
Total: 55

Author Topic: impulse2 not mobile friendly according to google How to Configure the Viewport  (Read 9328 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.

Is there an easy way to Configure the Viewport?

Offline IchBin

  • Friends
  • *
  • Posts: 16231
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: 5232
    • 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  ^-^