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

Login Bar question

Discussion in 'Styling and Customization Questions' started by 3c, Jan 27, 2012.

  1. 3c

    3c Active Member

    I just realized that the login bar completely disappears once a person logs in. Because of the way I'm tweaking the style (close to default anyway, for now) how is the easiest way to make that bar stay there?

    Actually, I'd rather have one that is a bit higher that I could put some text in, but for right now I'd be happy to have the 5px back with the lighter colored border on the bottom.

    Since I didn't see a way to do that in the admin, is that going to be something for the extra.css?

    DONE! Have I mentioned how much I like this software?....
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It's controlled by a condition:

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

    <xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">
    	<xen:include template="moderator_bar" />
    <xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
    	<xen:include template="login_bar" />
    You can just replace that condition with true and it will always show.
  3. 3c

    3c Active Member

    Thanks Jake. I haven't delved into the xen tags part of this very much. Still trying to figure out all the tags, etc. I just used the extra css to make it where there is still one there, it's just missing that 5px login bar...

    Is there a list somewhere that shows every xen tag used? That would be really cool. Especially, if it had a description on each one. You coder guys probably don't need it, but a tweaker wannabe like me could learn a lot about this software with it! LOL...
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  5. 3c

    3c Active Member

    Too cool...bookmarked and thanks much. I'll be able to give myself a real headache with all that! LOL

Share This Page