Hi there,
I’m looking to reduce the section below at the bottom, but only for desktop, I tried below code without luck. Is there anything else I can try? Thanks !
@media only screen and (min-width: 768px) { margin-bottom: -80px !important;}
Hi there,
I’m looking to reduce the section below at the bottom, but only for desktop, I tried below code without luck. Is there anything else I can try? Thanks !
@media only screen and (min-width: 768px) { margin-bottom: -80px !important;}
@media only screen and (min-width: 768px) {
Class or I'd of the section
{
margin-bottom: -80px !important;
}
}
You missed a set of curly braces after media width and you need to mention the class or I’d of the section for which you are applying that style.
Thanks so much!
I put it in the section in the editor directly and it worked before I added the screen conditions hence I didn’t add the ID. This works perfectly though, thanks!
It works and that is what matters, i guess
.
Good luck!!