Okay
  Public Ticket #1931140
Submenu in container
Closed

Comments

  •  5
    Caspar started the conversation

    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:

    .page-submenu[data-alignment="center"] {
        max-width: 1450px;
    }
    

    But it's never aligned in the center. 

    Any ideas?

    Thanks and best regards

    Caspar


  •  8,996
    Tahir replied

    Hey Again,

    Seems like you got it sorted: http://prntscr.com/mxcqqw  ? .

    Best


    ThemeNectar Support Team 

  •  5
    Caspar replied

    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


  •  8,996
    Tahir replied

    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 

  •  5
    Caspar replied

    Thanks, but if I set max-width it just sticks to the left side. I'm not able to center it afterwards...

    best, Caspar

  •  8,996
    Tahir replied

    Yes thats a css limitation i am afraid. 

    Best


    ThemeNectar Support Team