Functions.php adding weird top space on theme
-
I’m developing a theme. When the file ‘functions.php’ exists on the theme folder, it creates a space on the top portion of the website just above header, breaking the entire theme. When I delete or rename ‘functions.php’, everything goes back to normal.
I’ve checked all the margins and paddings from all the divs around this area, all the blank spaces and blank lines in the code and disabled the administration bar, but it seems that I can’t find where this is spacing is coming from.
Here is the screenshot, with functions.php: https://i41.tinypic.com/3bkph.jpg
Why this is happening? How do I solve this problem? How do I remove this space?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Functions.php adding weird top space on theme’ is closed to new replies.