• Resolved wplearner101

    (@wplearner101)


    Hello,

    I edited custom css to replace an image, it didnt work, so I put it back how it was and now its just disappeared. I had someone convert the site to wordpress and im really confused as to how they set it up. The image was behind the “Why Choose Us?” when I look at inspect element, the background-image property isn’t even showing. Im so lost. Please help

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • tugbucket

    (@tugbucket)

    #choose  {width:100%;float:left;display:block;
      font-family:"Raleway",Arial,sans-serif;
    	padding:3em 0 4em;margin:0;    background-image: url("https://fragileremovals.co.nz/wp-content/uploads/2021/03/section-bg-why-choose.jpg");
        width: 100%;
    	background-size:cover;
    	background-repeat:no-repeat;
    }

    If I remove those spaces before background-image: the image shows up fine. Spaces shouldn’t matter (maybe in this case they do) or there could be a unexpected/unseen random character there. That’s causing it.

    Thread Starter wplearner101

    (@wplearner101)

    Thank you so so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘background-image not displaying’ is closed to new replies.