Home › Forums › Arnold WordPress Theme › Background image does not display
- This topic has 8 replies, 2 voices, and was last updated 1 month, 3 weeks ago by
Pauline.
- AuthorPosts
- November 25, 2020 at 5:01 pm #23114
Hello,
I would like a background image but it doesn’t display.
I changed the background in appearance > background image and I added also CSS code :
#wrap-outer {background-color: transparent;}
body.custom-background:not(.home) {background-image: none!important;}.The image display between the white background color of the menu and the body only…. I don’t understand whyNovember 26, 2020 at 1:59 am #23119Hi,
It is possible by custom CSS(“Appearance > Customize: Additional CSS”) to show BG image on home page, like:
.home #wrap { background-image: url(https://xxx.jpg); }
Regards!
SeaTheme – SeaTheme.net – Twitter – Facebook
November 26, 2020 at 9:28 am #23128Thanks for your answer !
the image is displayed with this code but in repeat. How can i do for stop the repeat please ?
November 27, 2020 at 2:21 am #23142Welcome.
Please use the
background-repeat: no-repeat;
.home #wrap { background-image: url(https://xxx.jpg); background-repeat: no-repeat; }
November 27, 2020 at 3:53 pm #23147Hello,
thanks it’s perfect ! but I would like the image in background of the homepage and the header, how is possible please ?November 28, 2020 at 4:14 am #23164Hi,
Do you mean to show BG image on both body and header only for homepage?
Could you please leave your webpage URL? I need to check the lived page. Thanks!Regards
November 28, 2020 at 5:14 pm #23176Hello,
Thanks for all !
I want display the background on both body and header : https://paulinemurca.fr/November 29, 2020 at 3:46 am #23182Hi, welcome
Please update the CSS as:
.home #wrap, .home #header { background-color: transparent; } .home #wrap-outer { background-color: transparent; background-image: url(https://paulinemurca.fr/wp-content/uploads/2020/11/Figure_homepage-4-07.png); background-repeat: no-repeat; }
Regards
November 30, 2020 at 2:14 pm #23213It’s perfect !! thank you so much
- AuthorPosts
- You must be logged in to reply to this topic.