Strange white-space above headerfixing html errorsMagento front end page characters /**/ at top of pageLineup google_translate_element inline with label in Magento 1.6.2.0White space bottom of website… can't find what causes itHow to style recently viewed products horizontallyremove empty space in product view pageMagento 2.3 - extending layouts in custom themeHow to remove white space product image on product detail page magento 2.3?Porto Theme in Magento 2 Doesn't Match Demo SiteWhen is Onepage SaveOrder being triggered | Magento Plugin

How did the hit man miss?

Why isn't there research to build a standard lunar, or Martian mobility platform?

Returning the argument of a function if the argument is not of the right type

Crowbar circuit causes unexpected behavior for op amp circuit

Why did my rum cake turn black?

Is purchasing foreign currency before going abroad a losing proposition?

Are there any intersection of Theory A and Theory B?

What's the minimum number of sensors for a hobby GPS waypoint-following UAV?

Why is dry soil hydrophobic? Bad gardener paradox

Password maker in c#

Why can't supermassive black holes merge? (or can they?)

When did the Roman Empire fall according to contemporaries?

Can I call 112 to check a police officer's identity in the Czech Republic?

Are neural networks prone to catastrophic forgetting?

What is the difference between logical consistency and logical entailment in deductive logic?

Is it rude to tell recruiters I would only change jobs for a better salary?

Steampunk helicopter

Why do players in the past play much longer tournaments than today's top players?

Can I play a first turn Simic Growth Chamber to have 3 mana available in the second turn?

How do Windows version numbers work?

What can the U.S. government do to prevent powerful people to get extremely favorable plea bargain deals like Jeff Epstein?

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Is killing off one of my queer characters homophobic?

Supporting developers who insist on using their pet language



Strange white-space above header


fixing html errorsMagento front end page characters /**/ at top of pageLineup google_translate_element inline with label in Magento 1.6.2.0White space bottom of website… can't find what causes itHow to style recently viewed products horizontallyremove empty space in product view pageMagento 2.3 - extending layouts in custom themeHow to remove white space product image on product detail page magento 2.3?Porto Theme in Magento 2 Doesn't Match Demo SiteWhen is Onepage SaveOrder being triggered | Magento Plugin






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















After implementing among others the Facebook Pixel, there is a strange white-space above the header of our magento website: https://www.oplader.com



Does anybody have any idea what this could be? Even with DevTools there is no way to find out.










share|improve this question
























  • This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

    – Hugo Gerritsen
    Jul 4 at 20:09


















3















After implementing among others the Facebook Pixel, there is a strange white-space above the header of our magento website: https://www.oplader.com



Does anybody have any idea what this could be? Even with DevTools there is no way to find out.










share|improve this question
























  • This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

    – Hugo Gerritsen
    Jul 4 at 20:09














3












3








3








After implementing among others the Facebook Pixel, there is a strange white-space above the header of our magento website: https://www.oplader.com



Does anybody have any idea what this could be? Even with DevTools there is no way to find out.










share|improve this question
















After implementing among others the Facebook Pixel, there is a strange white-space above the header of our magento website: https://www.oplader.com



Does anybody have any idea what this could be? Even with DevTools there is no way to find out.







magento2.3 css html






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 5 at 9:20









Ayaz Ahmed Khan

16211 bronze badges




16211 bronze badges










asked Jul 4 at 18:35









Hugo GerritsenHugo Gerritsen

183 bronze badges




183 bronze badges












  • This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

    – Hugo Gerritsen
    Jul 4 at 20:09


















  • This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

    – Hugo Gerritsen
    Jul 4 at 20:09

















This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

– Hugo Gerritsen
Jul 4 at 20:09






This existing post actually helped me out: stackoverflow.com/questions/6538203/…. I edited one .phtml on another computer this afternoon, which added the BOM character to it.

– Hugo Gerritsen
Jul 4 at 20:09











1 Answer
1






active

oldest

votes


















2














In browser console, if you see header it would look fine:
enter image description here



But if you edit it's html you will see a special character here before header



enter image description here



Remove this special character and this strange space will remove



enter image description here



You need to look in your code something is printing that causing this






share|improve this answer























  • Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

    – Hugo Gerritsen
    Jul 4 at 19:27












  • I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

    – Hugo Gerritsen
    Jul 4 at 19:45












  • This could be a quick fix. But you need to find in code. something is defiantly printing

    – Shoaib Munir
    Jul 5 at 4:43













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280867%2fstrange-white-space-above-header%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














In browser console, if you see header it would look fine:
enter image description here



But if you edit it's html you will see a special character here before header



enter image description here



Remove this special character and this strange space will remove



enter image description here



You need to look in your code something is printing that causing this






share|improve this answer























  • Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

    – Hugo Gerritsen
    Jul 4 at 19:27












  • I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

    – Hugo Gerritsen
    Jul 4 at 19:45












  • This could be a quick fix. But you need to find in code. something is defiantly printing

    – Shoaib Munir
    Jul 5 at 4:43















2














In browser console, if you see header it would look fine:
enter image description here



But if you edit it's html you will see a special character here before header



enter image description here



Remove this special character and this strange space will remove



enter image description here



You need to look in your code something is printing that causing this






share|improve this answer























  • Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

    – Hugo Gerritsen
    Jul 4 at 19:27












  • I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

    – Hugo Gerritsen
    Jul 4 at 19:45












  • This could be a quick fix. But you need to find in code. something is defiantly printing

    – Shoaib Munir
    Jul 5 at 4:43













2












2








2







In browser console, if you see header it would look fine:
enter image description here



But if you edit it's html you will see a special character here before header



enter image description here



Remove this special character and this strange space will remove



enter image description here



You need to look in your code something is printing that causing this






share|improve this answer













In browser console, if you see header it would look fine:
enter image description here



But if you edit it's html you will see a special character here before header



enter image description here



Remove this special character and this strange space will remove



enter image description here



You need to look in your code something is printing that causing this







share|improve this answer












share|improve this answer



share|improve this answer










answered Jul 4 at 18:59









Shoaib MunirShoaib Munir

5,2806 gold badges23 silver badges69 bronze badges




5,2806 gold badges23 silver badges69 bronze badges












  • Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

    – Hugo Gerritsen
    Jul 4 at 19:27












  • I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

    – Hugo Gerritsen
    Jul 4 at 19:45












  • This could be a quick fix. But you need to find in code. something is defiantly printing

    – Shoaib Munir
    Jul 5 at 4:43

















  • Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

    – Hugo Gerritsen
    Jul 4 at 19:27












  • I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

    – Hugo Gerritsen
    Jul 4 at 19:45












  • This could be a quick fix. But you need to find in code. something is defiantly printing

    – Shoaib Munir
    Jul 5 at 4:43
















Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

– Hugo Gerritsen
Jul 4 at 19:27






Unbelievable how you spotted it that quickly, thanks. My next challenge is how to find what code is printing this. It are 3 spaces (1 tab?) and I can't find any code that is printing it. Any less clean way to solve it for now?

– Hugo Gerritsen
Jul 4 at 19:27














I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

– Hugo Gerritsen
Jul 4 at 19:45






I believe this should do the trick for now: var text = $('.page-wrapper').html().replace(' ', ''); $('.page-wrapper').html(text); You can't see the dot on Stackoverflow, but in the code it is there.

– Hugo Gerritsen
Jul 4 at 19:45














This could be a quick fix. But you need to find in code. something is defiantly printing

– Shoaib Munir
Jul 5 at 4:43





This could be a quick fix. But you need to find in code. something is defiantly printing

– Shoaib Munir
Jul 5 at 4:43

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f280867%2fstrange-white-space-above-header%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form