Hello, I’m using the Debut theme and I’ve been messing around with this for hours, but how can I make my hero image go at least up to my navigation bar? There has always been a gap there, and I can’t seem to get rid of it entirely. I also just added the code for a sticky navigation bar, but I’m pretty sure I was having this spacing issue before I added it… It’s just more noticeable now that I have a visible border at the bottom of my navigation bar.
https://invisiblecityeditions.com/
And I know a lot of people asked this on the sticky navigation thread, but I still didn't see a solution to that little jump in space that happens when you first load the page. Any solutions?
Thanks.
Solved! Go to the solution
Hello There,
1. Go to Online Store->Theme->Edit code
2. assets->assets/theme.scss.liquid->paste below code in the bottom of the file
@media only screen and (min-width: 750px)
.main-content {
padding-top: 34px!important;
}
Hello There,
1. Go to Online Store->Theme->Edit code
2. assets->assets/theme.scss.liquid->paste below code in the bottom of the file
@media only screen and (min-width: 750px){
.main-content {
padding-top: 34px!important;
}
}
This is an accepted solution.
Hello There,
1. Go to Online Store->Theme->Edit code
2. assets->assets/theme.scss.liquid->paste below code in the bottom of the file
Remove old code
@media only screen and (min-width: 750px){
.main-content {
padding-top: 34px !important;
}
}
Add this one
@media only screen and (min-width: 750px){
.template-index .main-content {
padding-top: 34px !important;
}
}
User | Count |
---|---|
688 | |
138 | |
104 | |
63 | |
36 |