O Old Nick Well-known member Oct 28, 2020 #2 Hello, try this Less: .p-nav { margin: auto; } Upvote 0 Downvote
Betclever Well-known member Oct 28, 2020 #3 nicodak said: Hello, try this Less: .p-nav { margin: auto; } Click to expand... Thanks but it doesn't work. Upvote 0 Downvote
nicodak said: Hello, try this Less: .p-nav { margin: auto; } Click to expand... Thanks but it doesn't work.
AbuGhaith Well-known member Oct 28, 2020 #4 Try this CSS: .p-nav-scroller{ margin: auto; } Upvote 0 Downvote Solution
Betclever Well-known member Oct 28, 2020 #5 XenArabia said: Try this CSS: .p-nav-scroller{ margin: auto; } Click to expand... Thanks! May I ask you the same for the sub bar? Upvote 0 Downvote
XenArabia said: Try this CSS: .p-nav-scroller{ margin: auto; } Click to expand... Thanks! May I ask you the same for the sub bar?
AbuGhaith Well-known member Oct 28, 2020 #6 Add this CSS: .p-sectionLinks{ margin: auto; } Upvote 0 Downvote
Betclever Well-known member Oct 28, 2020 #7 XenArabia said: Add this CSS: .p-sectionLinks{ margin: auto; } Click to expand... You sure about that one? Nothing change even with !important Upvote 0 Downvote
XenArabia said: Add this CSS: .p-sectionLinks{ margin: auto; } Click to expand... You sure about that one? Nothing change even with !important
O Old Nick Well-known member Oct 28, 2020 #8 Betclever said: Thanks but it doesn't work. Click to expand... It works for me, but do you want to center the menu links or the nav itself ? Upvote 0 Downvote
Betclever said: Thanks but it doesn't work. Click to expand... It works for me, but do you want to center the menu links or the nav itself ?
Betclever Well-known member Oct 28, 2020 #9 nicodak said: It works for me, but do you want to center the menu links or the nav itself ? Click to expand... Both Upvote 0 Downvote
nicodak said: It works for me, but do you want to center the menu links or the nav itself ? Click to expand... Both
O Old Nick Well-known member Oct 28, 2020 #10 The nav itself cannot be centered as it takes 100% of the site width... for sub-menu you can try this one Less: .p-sectionLinks-list { margin: auto; } Upvote 0 Downvote
The nav itself cannot be centered as it takes 100% of the site width... for sub-menu you can try this one Less: .p-sectionLinks-list { margin: auto; }
Betclever Well-known member Oct 28, 2020 #11 nicodak said: The nav itself cannot be centered as it takes 100% of the site width... for sub-menu you can try this one Less: .p-sectionLinks-list { margin: auto; } Click to expand... Doesn't work. Upvote 0 Downvote
nicodak said: The nav itself cannot be centered as it takes 100% of the site width... for sub-menu you can try this one Less: .p-sectionLinks-list { margin: auto; } Click to expand... Doesn't work.
O Old Nick Well-known member Oct 28, 2020 #12 Did you already made some custom css in extra.less template ? Because all codes provided by users in this topic works for me in default style. Upvote 0 Downvote
Did you already made some custom css in extra.less template ? Because all codes provided by users in this topic works for me in default style.
Betclever Well-known member Oct 28, 2020 #13 nicodak said: Did you already made some custom css in extra.less template ? Because all codes provided by users in this topic works for me in default style. Click to expand... This code: .p-nav-scroller.hScroller {margin: auto;} Upvote 0 Downvote
nicodak said: Did you already made some custom css in extra.less template ? Because all codes provided by users in this topic works for me in default style. Click to expand... This code: .p-nav-scroller.hScroller {margin: auto;}