Halaman

Fix and Remove Header or Footer Icon --> Blog New Interface

Fix and Remove Header or Footer Icon --> Blog New Interface

In nowadays, one of the most frequently asked questions is the problem of code that appears suddenly in the header of the blog, the author also experienced it and was confused about the cause of this problem.

This problem occurs not only face in the Median UI Templates, but also in most other custom templates.

The Main Cause Symbol

After finding out, it turns out that the main reason for this code to appear is because of the Blogger Update , in custom templates usually the default blogger code such as CSS and javascript is hidden so as not to burden the blog loading. One way is to do a little trick modifying the <head> tag by using the comment tag like in the example below:

&lt;!--<head/>--&gt;&lt;/head&gt;


The code above serves to hide blogger default CSS, the browser rendering results that appear are more or less like below:

<!--<head><style type='text/css'>@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu72xKOzY.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxKOzY.woff2)format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7mxKOzY.woff2)format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4WxKOzY.woff2)format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7WxKOzY.woff2)format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7GxKOzY.woff2)format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2)format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}</style>

<link href='https://www.blogger.com/dyn-css/authorization.css?targetBlogID=6086676692815096220&zx=37e2a61b-8bd1-4a5b-ad6b-be7ba2e93d12' media='none' onload='if(media!='all')media='all'' rel='stylesheet'/><noscript><link href='https://www.blogger.com/dyn-css/authorization.css?targetBlogID=6086676692815096220&zx=37e2a61b-8bd1-4a5b-ad6b-be7ba2e93d12' rel='stylesheet'/></noscript>

</head>--></head>

Above, you can see that the default blogger code has changed to a comment tag which is interpreted only as a comment and has no value in the template

The comment tag is a tag that starts with <! - and ends with -> , for example like this: <! - comment -> , you will find a lot of code like this in the Median UI template. 


The tag that is the problem and appears in the blog header is the code marked below:

<head/>--&gt;

The Reason Why This Code Appears?

This problem only appears on blogs that have Adsense ads installed, which is why this problem does not appear on this demo blog. In the blogger update, they added the adsense client ID to the <head> section using the comment tag, if you see the rendering result it will be like this:

<!--<head><style type='text/css'>@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu72xKOzY.woff2)format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu5mxKOzY.woff2)format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7mxKOzY.woff2)format('woff2');unicode-range:U+1F00-1FFF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4WxKOzY.woff2)format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7WxKOzY.woff2)format('woff2');unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu7GxKOzY.woff2)format('woff2');unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;}@font-face{font-family:'Roboto';font-style:normal;font-weight:400;src:local('Roboto'),local('Roboto-Regular'),url(//fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2)format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}</style>

<link href='https://www.blogger.com/dyn-css/authorization.css?targetBlogID=6086676692815096220&zx=37e2a61b-8bd1-4a5b-ad6b-be7ba2e93d12' media='none' onload='if(media!='all')media='all'' rel='stylesheet'/><noscript><link href='https://www.blogger.com/dyn-css/authorization.css?targetBlogID=6086676692815096220&zx=37e2a61b-8bd1-4a5b-ad6b-be7ba2e93d12' rel='stylesheet'/></noscript>

<!-- data-ad-client=ca-pub-xxxxxxxxxxxxxxxxx -->

</head>--></head>

The code above shows that the comment tag is closed because there is an adsense ID , that's why the comment closing tag on the template is changed to plain text which ends up appearing in the top right corner of the blog.

How to Remove Code from Blog Header

How Remove --> Blogger Templates - TrickPk Blog

To delete the code, please edit your HTML template and look for the code as below:

&lt;!--<head/>--&gt;&lt;/head&gt;

Delete the marked code sections and save your template . Don't forget to check your blog to make sure the --> sign doesn't appear again, if still facing with this issue kindly leave a comment. 

Related Post

No comments