For the life of me I can't figure out how to hide the footer area on Mobile/Responsive. Do you have the CSS for that? Again, it looks great on PC with this:
I did that. Still the same. It works fine at certain widths, but the then shows a black footer area at certain break points. That's why I thought maybe it was an @media issue. See attached!
Hi,
I've created a landing page that looks good on PC, but on mobile @media only is adding header and footer space.
I would like to remove this space from both header and footer.
I tried this in my custom CSS tab in Visual Compser:
@media only screen and (max-width: 1000px) and (min-width: 1px)
#header-space[data-header-mobile-fixed="1"] {
display: none!important;
}
But I get an "expected L brace at line 13, col 1 error.
Thanks!
I currently have the following code on https://essentialodessa.com
#header-space , #header-outer {
display: none;
}
#header-secondary-outer {
display: none;
}
#footer-outer {
display: none;
}
thanks
Hey Again, The media query needs to be enclosed in a curly brace too.
The correct code is below.
Thanks
ThemeNectar Support Team
Awesome, that worked.
For the life of me I can't figure out how to hide the footer area on Mobile/Responsive. Do you have the CSS for that? Again, it looks great on PC with this:
#footer-outer {
display: none;
}
But not on mobile.
Thank you so much. Great support.
Hey Again,
Add this into the Custom CSS box located in your Salient Options panel (Make Sure there are no red cross in the Box) :
Thanks
ThemeNectar Support Team
Hey, Tahir.
I did that. Still the same. It works fine at certain widths, but the then shows a black footer area at certain break points. That's why I thought maybe it was an @media issue. See attached!
@David that's because there isn't enough content to fill the screen at smaller widths. That black area isn't a footer.