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

XF 1.4 Visitor Tab Question

Discussion in 'Styling and Customization Questions' started by DEZero, May 12, 2015.

  1. DEZero

    DEZero Well-Known Member

    Alright so, I am working on altering the visitor panel on a new design and while I have this edited the way I want now, I need to be able to make the Visitor Tab in the navigation disappear when on a desktop but reappear when you hit about 480px.

    Now I know to use media queries, I have tried the following:

    @media (min-width: 480px){
    .navTabs .visitorTabs {
    display: none;

    My issue is that when you are on a desktop and your resize the browser it doesn't show up when you bring it down to about 480px, only when you refresh the page.

    Any Ideas how to fix this issue? Or any different method to accomplish this?

    (visitortab as in where the username, inbox, and alerts are on the right side of the navigation)
    *sorry no image atm.
  2. rafass

    rafass Well-Known Member

    Try with something like:
    <xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveNarrowWidth){
    .Your_Code {
    bla bla bla bla }
    creativeforge likes this.
  3. DEZero

    DEZero Well-Known Member

    Will give it a try

Share This Page