Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Google telling me Configure the Viewport


Recommended Posts

Hope somebody can advise. We have OSC bootstrap running but google is telling us that we do not have a viewport specified. How do we do this? Should we do this? Have we missed something in configuring the OSC installation? Many thanks for any help.

Link to comment
Share on other sites

The viewport meta tag is hard coded into template_top.php of the bootstrap installation. Google does not complain about a stock installation, so maybe you running a template? or somehow modified it from the original.

Link to comment
Share on other sites

Thank you.

I have Header Tags SEO installed which has changed template top - is this the problem? or how to fix it?

The code I have is:

 

  <?php

/*** Begin Header Tags SEO ***/
if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) {
  require(DIR_WS_INCLUDES . 'header_tags.php');
} else {
?>
 
<meta charset="<?php echo CHARSET; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta name="viewport" content="width=device-width, initial-scale=1">
 
<title><?php echo tep_output_string_protected($oscTemplate->getTitle()); ?></title>
<?php
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...