I added this code to successfully hide the fallback background image on the homepage for desktop. However it's also hiding the background images on my portfolio pages. How can I only target the homepage?
Here's my site's URL:
https://magenta-dachshund-daxm.squarespace.com/
Here's the code:
.section-background:first-child img {
visibility: hidden;
}
@media (max-width: 740px) {
.section-background:first-child img {
visibility: visible;
}
}