Timeline for Locally Developing a wordpress website, cant get images to display?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 12, 2017 at 14:23 | comment | added | Johansson | Yes for sure. But It's not recommended to store ANY file outside your theme or upload directory, unless there is a very strong reason to. | |
Aug 12, 2017 at 14:22 | history | edited | Johansson | CC BY-SA 3.0 |
added 316 characters in body
|
Aug 12, 2017 at 14:21 | comment | added | AndyGUY | Thank you v much, and can this be repeated as needed? ../../../imgs for example? | |
Aug 12, 2017 at 14:19 | vote | accept | AndyGUY | ||
Aug 12, 2017 at 14:19 | comment | added | Johansson |
You're welcome! WordPress's main CSS file is located at the root of theme's folder, so you should create your links relatively to that folder. For example, you can use ../imgs/whatever.jpg in your CSS file to point to wp-content/imgs/whatever.jpg . The ../ goes back once, and then navigates to imgs/
|
|
Aug 12, 2017 at 14:16 | comment | added | AndyGUY | Brilliant, that is exactly what i needed for the HTML side. Thanks for your help. What do i do in the case of CSS file | |
Aug 12, 2017 at 14:11 | history | answered | Johansson | CC BY-SA 3.0 |