Hello Reema,
Use this code :
Your image insert in this directory: “project/wp-content/themes/yourtheme/images/”
and this css file in add this code : “project/wp-content/themes/yourtheme/style.css”
.widget {
background: url(“images/yourimage.png”)
}
problem not solved than please give your site url than i help to you
– Laxman
Hi,
Sorry I can’t locate the directory you have given me above.
Use this code :
Your image insert in this directory: “project/wp-content/themes/yourtheme/images/”
I don’t know where this can be found. I think I’ve misunderstood. What am I supposed to do with the above exactly?
You are use wordpress CMS or other ?
I’m using wordpress.org and customising with Css.
You are use wordpress cms than why not locate my below code
you not fine this directort : project/wp-content/themes/yourtheme/images/ ?
than you fine this directory : project/wp-content/themes/yourtheme ?
find than create images new folder and insert in image
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Laxman is guessing the URL to your image, we don’t actually know that. You should be aware of the path to your image that you want to use here.
I know where my image is saved, I have the URL as below
http://www.petitebeautyblogger.com/wp-content/uploads/2014/01/img-thing.jpg
but when I add it so the Css code below
.widget {
background: url(“http://www.petitebeautyblogger.com/wp-content/uploads/2014/01/img-thing.jpg”)
}
It doesn’t remove the zigzag lines and replace it with the selected image.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
What is the issue specifically:
- You don’t know where your image is that you want to use
- You know where your image is but the image doesn’t display in the CSS
Edit: Sorry I cross-posted just now
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try this URL:
background: url("/wp-content/uploads/2014/01/img-thing.jpg")
It doesn’t work. I’ve added the code to the customer Css manager plugin. Is this right?
I have also noticed that the image appears on the widget dashboard a few times and quite randomly over the page. If that makes sense.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Let’s see the Webpage in question
This is my site.
http://Www.petitebeautyblogger.com
I want to remove the sidebar zigzag lines and replace with my own image.