Fixed Logged Out Responsive Quirk

Discussion in 'Closed Reports' started by Russ, Dec 8, 2015.

  1. Russ

    Russ Designer

    Before submitting a bug report we usually recommend trying to replicate the problem on a default XenForo style(if applicable) to eliminate the possibility of it being a bug related to our styles.


    Website address(optional):N/A
    Bug Report Details:
    It looks like with the recent changes brought out a bug. If you have no content in the right side where the visitor area goes such as the quick search of the "enable login in nav bar" the responsive menu is broken while logged out.

    For now you can open navigation_visitor_tab and wrap the entire HTML around a conditional:

    Code:
    Copy Source
    <xen:if is="{$visitor.user_id}">
    html here
    </xen:if>
    
    Do not wrap this portion:

    Code:
    Copy Source
    <xen:edithint template="navigation.css" />
    
    Additionally if you enable:

    Style Properties: Login Bar -> Enable Navigation Bar Login

    That would work too.
     
  2. Russ

    Russ Designer

    I ended up changing up the way we had our code quite a bit in regards to the visitor tabs area. I found a few instances where the Navigation Login link wasn't working if a combo of options were checked such as the user panel / top user bar.

    So... this is adjusted and should be working perfectly in responsive for the next XenBase release.
     
    Last edited: Feb 6, 2016
    nome likes this.

Let's work together on your next project

Contact us today to talk about how we can help you