Site logo

[Support request] Remove background image from front page

Home Forums Support [Support request] Remove background image from front page

Home Forums Support Remove background image from front page

  • This topic has 5 replies, 3 voices, and was last updated 4 years ago by Elvin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1921994
    Sonja

    Hello, I was wondering which CSS code to use to remove the image from the top section for mobile devices. The site URL is here: https://digitalsearchhero.com/ I tried with multiple codes, including this one: @media (max-width: 768px) {
    .gb-container-c1f1455e {
    background-image: none!important;
    }
    }

    but not working.

    Thanks

    #1922051
    Leo
    Staff
    Customer Support

    Hi there,

    I just tested and this should work for sure:

    @media (max-width: 768px) {
        .gb-container.gb-container-c1f1455e {
            background-image: none;
        }
    }

    Please make sure to clear any caching plugins you are using.

    #1922170
    Sonja

    I don’t know how to check if the code is working, because right now I don’t see any changes. I have a cache plugin and I cleaned all the cache and everything looks the same. However, I noticed that in the incognito, the site looks broken, does anybody know what could be the cause? I pointed my website via Sucuri firewall, could that be an issue? It also displays like this in Firefox: https://ibb.co/1vd4FZk

    #1922250
    Elvin
    Staff
    Customer Support

    Hi Sonja,

    I’ve checked the CSS on your site and it seems to have a syntax error.

    This part – https://share.getcloudapp.com/DOuBrROl – is missing a } before the @media.

    It’s the one you added on Appearance > Customize > Additional CSS.

    #1923237
    Sonja

    Thank you, it worked perfectly.

    #1923619
    Elvin
    Staff
    Customer Support

    Glad you got it sorted. No problem. 😀

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.