XF 2.2 What's these divs for?

DohTheme

Well-known member
Hello,

In "PAGE_CONTAINER" template there are two new divs I don't know what is their job:

HTML:
<xf:if is="$sideNav">
    <div class="p-body-sideNavCol"></div>
</xf:if>
<div class="p-body-contentCol"></div>
<xf:if is="$sidebar">
    <div class="p-body-sidebarCol"></div>
</xf:if>

Is there any content that can be inserted into them or it's okay to remove them?

Best Regards
 
Solution
They avoid CLS issues (and likely help with ad overflow for similar reasons).

If they interfere with style customizations, either remove them explicitly or you should be able to use CSS to effectively remove them.
Top Bottom