Jump to content

Compab Bathrooms - compab.it


Alessio Dal Bianco
 Share

Recommended Posts

But i can remove the metatag viewport that in this situation is useless :/

Talking about viewport, I found this line in simplegrid css:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

and this about mobile firefox

https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag

Link to comment
Share on other sites

Talking about viewport, I found this line in simplegrid css:

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>

and this about mobile firefox

https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag

I know this line very better but in this case i removed it, since this site (for now) is only for desktops. In fact apeisa with his android (also on my iphone) was unusable, the page is 960px wide and the device 480px (more or less), and the metatag force the whole page to have the device width; the result is that the page was cut.

Link to comment
Share on other sites

  • 2 weeks later...

Thank you all for appreciation!

@3fingers

You are right. Maybe when i will work on the mobile version i will insert the "LanguageSupportPageNames" module.

For now i'm using this in header:

<link rel="alternate" hreflang="x-default" href="<?php echo $page->httpUrl ?>" />
<link rel="alternate" hreflang="en" href="<?php echo $page->httpUrl ?>?lang=english" />
<link rel="alternate" hreflang="it_IT" href="<?php echo $page->httpUrl ?>?lang=default" />
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...