How I a put a image fixed in full background
I cann’t put a image fixed in backgroun, I tried use a Custon CSS and change the html file, but it doesn’t work.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
12Hi. If you’re referring to the site background image, please try this under Appearance > Custom CSS:
/* Background Image */ body.custom-background { background-repeat: no-repeat; background-position: center center !important; background-attachment: fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }Hi,
Thank you for answer but this code doesn’t work, it doesn’t resize that image and nothing happens in the site.
I want put a image in static background, the image doesn’t move.
If your site is live with a background image added, please send through a link so I can take a look. Thanks.
Look my site, http://192.185.176.79/~noteb750/fngconcept.com/.
I want put a background image, but i ha a doubt, the site will has delay to load?
You can try adding one at: Appearance > Customize > Page: Page Background Image. You can add the following CSS to fix the position:
/* Main Site Container */ #main { background-attachment: fixed; }I put the CSS and the image but doesn’t work
See the site again if it’s possible.
I’m sorry, the fixed function it’s ok, but how i resize de image for full screen now?
Has your page background been added here: http://192.185.176.79/~noteb750/fngconcept.com/ ? I don’t see it. Please save so I can see what’s going on. Thanks.
Wow, Andrew, thanks
I got it!! It’s necessary use the uppside code, but chage for main like this:
#main {
background-repeat: no-repeat;
background-position: center center !important;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Awesome, thanks for combing the selectors I sent. Glad you found a solution that works for you!
Thanks for support..all good for you
Not a problem, glad we could help.
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.