Hi,

Just cut everything from

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

to

<!-- / PAGENAV POPUP -->...