Comments 5Caspar started the conversationMarch 13, 2019 at 7:59amHi thereI'd like to have the sticky submenu not fullwidth, but the size of the container. Is this possible? I tried to limit the container of the sticky submenu: .page-submenu[data-alignment="center"] { max-width: 1450px; } But it's never aligned in the center. Any ideas?Thanks and best regardsCaspar 8,996Tahir repliedMarch 13, 2019 at 2:52pmHey Again,Seems like you got it sorted: http://prntscr.com/mxcqqw ? .Best ThemeNectar Support Team 5Caspar repliedMarch 13, 2019 at 5:09pmHi TahirNope, I got it sorted only on the not-stuck part, if you scroll down (sticky submenu), it's still full width:Any ideas there? best, caspar 8,996Tahir repliedMarch 13, 2019 at 5:22pmUnfortunately thats not possible. Also this css is not correct: http://prntscr.com/mxf3do . Instead of padding set a max-width to reduce the width of the page. Best ThemeNectar Support Team 5Caspar repliedMarch 13, 2019 at 5:36pmThanks, but if I set max-width it just sticks to the left side. I'm not able to center it afterwards...best, Caspar 8,996Tahir repliedMarch 13, 2019 at 5:46pmYes thats a css limitation i am afraid. Best ThemeNectar Support Team Sign in to reply ...
Hi there
I'd like to have the sticky submenu not fullwidth, but the size of the container. Is this possible?
I tried to limit the container of the sticky submenu:
But it's never aligned in the center.
Any ideas?
Thanks and best regards
Caspar
Hey Again,
Seems like you got it sorted: http://prntscr.com/mxcqqw ? .
Best
ThemeNectar Support Team
Hi Tahir
Nope, I got it sorted only on the not-stuck part, if you scroll down (sticky submenu), it's still full width:
Any ideas there?
best, caspar
Unfortunately thats not possible. Also this css is not correct: http://prntscr.com/mxf3do . Instead of padding set a max-width to reduce the width of the page.
Best
ThemeNectar Support Team
Thanks, but if I set max-width it just sticks to the left side. I'm not able to center it afterwards...
best, Caspar
Yes thats a css limitation i am afraid.
Best
ThemeNectar Support Team