How to remove gap as empty text between body and header in wordpress?

I have WordPress site and i try to fix some issue but right now don’t see any proper way.

I have space between body and header, scanned all project but all seems good.

Read More

From chrome:

enter image description here

and visually it seems:

enter image description here

Have no clue from where I got it and where I need to search,

Please, help,

[Edit]

When I try to copy this empty space to Notepad++ with Incoding UTF 8 I get strange symbol (current editor can’t show it)

Form Dev tool – Sources:

enter image description here

Related posts

Leave a Reply

1 comment

  1. It happened because of UTF-8.

    When I ran over all my sources followed script (that switch to UTF-8 without BOM),
    everything start to work as expected.

    under theme folder:

    sed -i '1 s/^xefxbbxbf//' *.php
    

    for wordpres index.php (placed at the same level as wp-content)

     sed -i '1 s/^xefxbbxbf//' index.php
    

    further,

    I removed <!doctype html> from index.php (placed at the same level as wp-content) and added this tag to index.php of theme and header.php

    Anyways, thanks to saosangmo for right direction