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;
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
add a comment |
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
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
add a comment |
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
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
magento2.3 css html
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
In browser console, if you see header it would look fine:
But if you edit it's html you will see a special character here before header
Remove this special character and this strange space will remove
You need to look in your code something is printing that causing this
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
In browser console, if you see header it would look fine:
But if you edit it's html you will see a special character here before header
Remove this special character and this strange space will remove
You need to look in your code something is printing that causing this
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
add a comment |
In browser console, if you see header it would look fine:
But if you edit it's html you will see a special character here before header
Remove this special character and this strange space will remove
You need to look in your code something is printing that causing this
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
add a comment |
In browser console, if you see header it would look fine:
But if you edit it's html you will see a special character here before header
Remove this special character and this strange space will remove
You need to look in your code something is printing that causing this
In browser console, if you see header it would look fine:
But if you edit it's html you will see a special character here before header
Remove this special character and this strange space will remove
You need to look in your code something is printing that causing this
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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