XF 2.2 Massive space - how to remove?


Well-known member
I have the UI.X 2.0 style by @ThemeHouse and when using threads as articles, I am getting this huge space between the thread post and the header of the site.
When I check the console, I see a lot of <br > lines entered. After speaking to TH, they suggested to run a search on the templates, but I can't find anything.

Anyone have an idea as to what may trigger this and how to remove it please?
It's bad on desktop, but much worse on mobile. :LOL:

Very many thanks!
Code I am trying to find;
var mainMessage1 = mainMessage1 || ($(".p-body-main").before("<div><br />\n<br />\n<br />\n<br />\n<br />\n<br />\n</div>") && $(".p-content").html("<div><br />\n<br />\n<br />\n<br />\n<br />\n<br />\n</div>"));



Thank you.

This is the page source if it helps?
Last edited:


mmmh so weird...you can try the following:
  • Try to disable all your addons or
  • Try to find the code partially like "mainMessage1" or
  • Install xenforo locally, all clean, and try that skin
If this error only occurs with this skin, it would be a good idea to contact support again, or try to download an older version of that theme...