Can’t add background image with container
-
I’m trying to add a background image to my WordPress website theme. Whatever I tried didn’t work, e.g. adding it via CSS, customizing the theme directly in WP. My site has a container; does that prevent a background image from being displayed by default?
Here’s the body section of my style.css file:
body {
margin-left: 0px;
margin-top: 0px;
background-repeat: repeat; /* disabled 09/26/18, re-enabled 09/27/18 */
background-image: url(“https://garykrupacpa.com/wordpress/wp-content/themes/mywebsite/the colors of cathedral rock by brian klimowski twilight scene.jpg”);
background-attachment: fixed;
opacity: .99;
background-position: center;
}
I’m dumfounded that the background image will easily display in a web browser for the other pages on my site, but the WordPress blog page doesn’t display the BG image at all with the same code. Only the background color displays. Maybe that’s by default.
Please help if you can.
The page I need help with: [log in to see the link]
- The topic ‘Can’t add background image with container’ is closed to new replies.