Background-Image CSS for Divs
-
Hi Everyone,
I am working on a custom template – basically just trying to convert a Bootstrap 3 layout to use for WordPress, but am running into an issue with my background images for divs.
At first, none of my images were working when linking to my images folder, so I uploaded the media to the WordPress admin and used the links provided, which worked for all but the div backgrounds.
Currently using the background-image property
background-image: url(‘https://appepic.com/wp-content/uploads/2016/06/hero-background-dark.jpg’);
Have tried using the background property instead. I’ve been looking all over for a similar problem and can’t find my answer. Do I need to have some php allowing for background images? Is there a Template Tag I should be using?
I am new to WordPress Development. I’ve only ever built sites using HTML, CSS, JS.
Any help would be much appreciated! The site is not live currently.
- The topic ‘Background-Image CSS for Divs’ is closed to new replies.