Skip to content

Instantly share code, notes, and snippets.

@oooh-boi
Created October 13, 2022 15:54
Show Gist options
  • Save oooh-boi/f937e9161ac67073f9fc232b5db4e643 to your computer and use it in GitHub Desktop.
Save oooh-boi/f937e9161ac67073f9fc232b5db4e643 to your computer and use it in GitHub Desktop.
Video tutorial copy-paste CSS
@media only screen and (min-width: 768px) {
selector .ob-wrapper {
width: 84px !important;
position: fixed;
top: 0;
right: 0;
min-height: 100vh;
}
selector .ob-logo {
height: 255px;
}
selector .ob-menu {
height: calc(100% - 255px);
}
selector .ob-menu > .elementor-container {
height: 100%;
}
selector .ob-contact {
position: absolute;
bottom: 0;
}
/* any section */
[data-element_type="section"]:not(.elementor-inner-section):not(.no-margin) {
margin-right: 84px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment