• Resolved eight17

    (@eight17)


    Hello,

    Not sure what I’m missing but I’ve used the customizer to change the background to an image. I chose the image file and set the tile/position settings. Clicked save and publish. Background image doesn’t show. I just get the themes default #e6e6e6 color.

    What needs to be done to get background images to show?

    I’m using the WP-Starter child theme if that helps.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Let’s see a page with the isseu

    Theme Author ThemeAWESOME

    (@tsquez)

    Hey there,

    Thanks for trying out my theme. Just a few questions.

    Did everything appear in the customizer preview window properly when you made the changes? Did you try refreshing the page and clearing your cache?

    Theme Author ThemeAWESOME

    (@tsquez)

    DOH! never mind I see what you are saying.

    The background colors of the main containers are preventing you from seeing the background image.

    Add this to your child theme css:

    .header_container,
    .nav_container,
    .content_container,
    .sidebar_container,
    .footer_container {
         background-color: transparent;
    }

    this should turn off the background color and allow your image to be seen. I think I am going to have to rethink that particular part of the theme…lol

    Thanks for bringing it to my attention. Make sure you leave a rating. Enjoy!

    Thread Starter eight17

    (@eight17)

    Just needed the !important declaration. I can now see the background image as expected!

    .header_container,
    .nav_container,
    .content_container,
    .sidebar_container,
    .footer_container {
         background-color: transparent !important;
    }

    Thanks for taking a look!

    Theme Author ThemeAWESOME

    (@tsquez)

    Ah yes I forgot the !important – Glad you got it working the way you wanted. As I mentioned, I am going to rethink that particular part of the customizer. I think I am going to take out the color option for the containers and put those back into style.css – it just makes more sense to me.

    Thanks again and enjoy!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Background Image Not Showing’ is closed to new replies.