Resize Mobile Background?


#1

Hey Vlad,

I’m trying to resize my background image using the custom css for when I’m on mobile but I can’t figure it out. Even tried to block it out using your code from one of your other forums which was:

“You could try add this”

@media only screen and (max-width: 1024px) {
section {
background-image: none !important;
}
}

And it still doesn’t work. Could you please let me know what I could add to resize or either block it out? Thanks!


#2

Okay well I just got it to go black using this code:

@media only screen and (max-width: 1024px) {
body.custom-background {
background-image: none !important;
}
}

However, is there a way to resize? Or is blacking out the only way?


#3

Hello,

What background image are you actually trying to resize? The first code you posted is for blocks, not the whole body of the site. The second one is for the whole site.


#4

Thank you Vlad. The last post including my custom CSS actually worked to remove the background from the mobile version. Thanks!