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

Forcing a Style on a navbar via template?


New member

I have a page that has the style forced on it via ACP. However when you click one of the navbar tabs it will of course go back to the user style of that page you navigated to. I don't want to over ride that tab to have a certain style for the entire site just for that one style that is forced for that page. What i did is allocated a page for a member for his own needs and to have his style forced upon that page.

So what i was wanting to do was in that style add something to this that's in the navigation:

<!-- help -->
<xen:if is="{$tabs.help}">
<li class="navTab help {xen:if $tabs.help.selected, 'selected', 'Popup PopupControl PopupClosed'}">

<a href="{$tabs.help.href}" class="navLink" rel="help">{$tabs.help.title}</a>
<a href="{$tabs.help.href}" class="SplitCtrl" rel="Menu"></a>

<div class="{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
<div class="primaryContent menuHeader">
<div class="muted">{xen:phrase quick_links}</div>
<ul class="secondaryContent blockLinksList">
<xen:hook name="navigation_tabs_help">
<li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
<li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
<li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>

to make it so that when i click that tab in the style that is overriding the page it will stay in that style. It may seem confusing but hopefully i explained it thoroughly.