WebSite X5Help Center

 
Gary N.
Gary N.
User

Misaligned text in main menu buttons  en

Author: Gary N.
Visited 658, Followers 1, Shared 0  

www.cktengineering.com

On upgrading from version 11 to 12 the text within the main menu buttons has moved from central to the top and i am unable to resolve this problem, please see web site.

When viewed within the web editor everything looks fine, the problem only arises when the web site is published

Thanks

Gary

Posted on the
1 ANSWERS
Paul M.
Paul M.
Moderator

Hello Gary,

You have added your Google Analytics code in the wrong place (you have it before the opening HTML tag):

<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m[removed].insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42491449-1', 'cktengineering.com'); ga('send', 'pageview');
</script><!DOCTYPE html><!-- HTML5 --><html prefix="og: http://ogp.me/ns#" lang="en-GB" dir="ltr"><head><title> - CKT Aircraft Exhaust Systems</title><meta charset="utf-8" /><!--[if IE]><meta http-equiv="ImageToolbar" content="False" /><![endif]--><meta name="author" content="CKT Engineering" /><meta name="description" content="Specialists in the design and manufacture of high quality aircraft exhaust systems" /><meta name="keywords" content="high quality exhausts, light aircraft exhausts, UAV exhausts" /><meta name="viewport" content="width=device-width, initial-scale=1" /><link rel="stylesheet" type="text/css" href="style/reset.css?12-0-7-26" media="screen,print" /><link rel="stylesheet" type="text/css" href="style/print.css?12-0-7-26" media="print" /><link rel="stylesheet" type="text/css" href="style/style.css?12-0-7-26" media="screen,print" /><link rel="stylesheet" type="text/css" href="style/template.css?12-0-7-26" media="screen" /><link rel="stylesheet" type="text/css" href="style/menu.css?12-0-7-26" media="screen" /><!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="style/ie.css?12-0-7-26" media="screen" /><![endif]--><link rel="stylesheet" type="text/css" href="pcss/index.css?12-0-7-26-635997039100370297" media="screen" /><!--[if lt IE 9]><link rel="stylesheet" type="text/css" href="pcssie/index.css" media="screen" /><![endif]--><script type="text/javascript" src="res/jquery.js?12-0-7-26"></script><script type="text/javascript" src="res/x5engine.js?12-0-7-26" data-files-version="12-0-7-26"></script>

Remove this code in WebSite X5 from wherever you added it, and all will be well.

If you want to use Google Analytics then add it in the proper place within WebSite X5, and the software will ensure the code is added to the right part of your webpage:

http://help.websitex5.com/en/v12/evo/index.html?imp_seo.htm

Kind regards,

Paul

Read more
Posted on the from Paul M.