• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XenForo Nav Bar

#1
Hello,
I was wondering how I would remove the nav bar at the top of my forums page so it is only the sections showing. This is because I wish to embed it into my website with an iframe but it would look very strange with two navigation bars. All I need to show on the forum is the forum sections.

Does anyone know how I would go about doing this?

Kind Regards,
Dan.
 

Brogan

XenForo moderator
Staff member
#2
You can edit the templates to remove it/comment it out.
Or you can hide it using EXTRA.css:
Code:
.navTabs {
display: none;
}
 

Brogan

XenForo moderator
Staff member
#4
That removes the whole nav bar.

Perhaps you could post a mock up of what you want instead of me trying to guess what you mean by "forum module".
 

Brogan

XenForo moderator
Staff member
#6
The easiest thing to do then would probably be to edit the PAGE_CONTAINER template and remove these two sections near the bottom.

Code:
<header>
    <xen:include template="header" />
    <xen:edithint template="navigation" />
    <xen:edithint template="search_bar" />
</header>
Code:
<footer>
    <xen:include template="footer" />
</footer>
Untested but it should work.
 
#7
Thanks, that seemed to work extremely well!

There is just one issue, there is still a blue box, I have circled it in the imaged attached.

Is there a way to remove this?

Thanks.