[cXF] Top Navigation

Pack C [cXF] Top Navigation 1.6.3

No permission to download

Currently reading:
Pack C [cXF] Top Navigation

CTXUK

cXF PREMIUM
Oct 28, 2018
1
0
How would we centre the whole menu? I've tried margin: auto; in General Styling but it doesn't seem to work as expected.
 

BassMan

Staff member
Administrator
May 18, 2015
1,156
736
www.customizexf.com
If you're not using visitor tabs in Top navigation and you have only top links, you can try with this one in extra.less template:
Less:
.topNav-inner {
    display: block !important;
}
*haven't tested though
 

Alan

Active Member
Aug 23, 2018
36
13
No, I dont want it at all. The others are but the Quick Search is in its normal position.
 

BrianC

cXF PREMIUM
Aug 30, 2015
4
1
hey Bassman, Is it possible to either show a specific menu item on full view but not on mobile or somehow show a different link for that menu item. I want to use the top menu for arrowchat but the mobile view displays a mobile version with different link. The menu item for the full view chat then displays the wrong version on mobile. Thanks
 

BassMan

Staff member
Administrator
May 18, 2015
1,156
736
www.customizexf.com
Hey,

currently, it's not possible to show a different link on mobile view with a click.

Well, it's possible to code it manually if you're using a custom menu, but a bit more complicated. Also, it's possible to hide specific top menu link on mobile with custom code in extra.less template.
 

BrianC

cXF PREMIUM
Aug 30, 2015
4
1
Would you be able to share the code to remove a menu item such as your donate link on the top menu on this site. It would be very helpful if possible. Thanks much
 

BassMan

Staff member
Administrator
May 18, 2015
1,156
736
www.customizexf.com
Sure,

check on which number is your top link you'd like to hide (in ACP check options for this add-on and see:

1903


For example, my Donations tab is on top link 5 so I'll add this to my extra.less template to hide it on mobile:
Less:
@media (max-width: @xf-responsiveMedium) {
    .tn-link5 {
        display: none;
    }
}
Change number in tn-link5 to your top link number.
 

BrianC

cXF PREMIUM
Aug 30, 2015
4
1
Sure,

check on which number is your top link you'd like to hide (in ACP check options for this add-on and see:

View attachment 1903


For example, my Donations tab is on top link 5 so I'll add this to my extra.less template to hide it on mobile:
Less:
@media (max-width: @xf-responsiveMedium) {
    .tn-link5 {
        display: none;
    }
}
Change number in tn-link5 to your top link number.
thanks much!
 

Xiomera

cXF PREMIUM
Mar 15, 2019
1
0
We really like this addon, but there is a little problem.
The "Sticky top navigation" feature is not working with the UI.X 2 theme from themehouse. Did they mess up somehow or is this addon not compatible with this theme?

It works on our installation on the default theme (we are using the latest XF2 and the latest addon versions). When we scroll down, the top nav is moving down and it looks like that it is hidden behind the real nav bar from the theme (also sticky).

Thank you for your time and help.
-Xiomera
 

BassMan

Staff member
Administrator
May 18, 2015
1,156
736
www.customizexf.com
Thank you, but yes, there is a problem with compatibility for sticky top navigation in UI.X 2 style. I've already tried to find a solution, but still no luck or a proper one.
 

BrianC

cXF PREMIUM
Aug 30, 2015
4
1
Hi @BassMan , Not sure if you can assist with this but I installed a themehouse theme with UIX and the top navigation will not sticky whens scrolling up. Works fine with default theme. Not sure if you know workaround for this? Thanks
 

BassMan

Staff member
Administrator
May 18, 2015
1,156
736
www.customizexf.com
Thank you, but yes, there is a problem with compatibility for sticky top navigation in UI.X 2 style. I've already tried to find a solution, but still no luck or a proper one.
I already tried. Maybe I can check one more time... If I find a solution I'll get back to you.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to customizeXF

We are running default XenForo style customized by cXF
Registration is free!

Search forums

Similar threads

Sticky sidebar

You'd like to have sticky sidebar on your forum? Click below.

Top