Hi I added code to create a sticky header on my website, but it constantly seems to be cutting off things like headings and search bars etc. Is there another code I can use instead to ensure this doesn’t happen anymore? This is the debut theme
Here is my website:
https://roundandroundthegarden.com.au/
EBOOST
January 26, 2023, 11:48pm
2
Hi @tahliamotteram
May I suggest to update code these steps:
Go to Store Online-> theme → edit code
Assets/theme.scss.css
Add code below to bottom of file
.js-drawer-open-top body #SearchDrawer.drawer--top {
-ms-transform: translateY(100%);
-webkit-transform: translateY(100%);
transform: translateY(100%);
margin-top: 50px;
padding-bottom: 35px;
}
Thank you so much this worked. It also seems to be cutting off the heading on each page. Is there a way to fix this? Thank you
EBOOST
January 28, 2023, 12:56am
4
Hi @tahliamotteram
May I suggest to update code these steps:
Go to Store Online-> theme → edit code
Assets/theme.scss.css
Add code below to bottom of file
.mobile-nav-wrapper:not(.js-menu--is-open){
transform:translateY(-100%)!important;
-ms-transform: translateY(-100%)!important;
-webkit-transform: translateY(-100%)!important;
}