Skip to content

Sticky menu covers horizontal thecomplete screen instead of boxed layout #649

Answered by sonvnn
Seven1969 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use

@media (min-width: 1140px) {
  .astroid-header-section .astroid-header-sticky {
    position: fixed;
    top: 0;
    left: auto;
    width: 1140px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    z-index: 1020;
    -webkit-animation-duration: 0.7s;
    animation-duration: 0.7s;
    --bs-gutter-x: 1.5rem;
    margin-left: calc(-0.5* var(--bs-gutter-x));
  }
}

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Seven1969
Comment options

@sonvnn
Comment options

Answer selected by Seven1969
@Seven1969
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants