Page 1 of 1

[SOLVED] Background images on default theme

Posted: Thu Aug 03, 2017 7:15 pm
by Majbritt
Hello wonder roots

How do you put background image into default theme
Like how the code should look

Thank you in advance for your help

Majbritt / Denmark

Re: Background images on default theme

Posted: Fri Aug 04, 2017 12:34 pm
by wiz
Before proceeding: Please make a COPY of your default theme and make changes on it (WonderCMS overwrites the default theme with each new update, don't make changes to the default theme.)

In your style.css, change

Code: Select all

body {
	color: #555;
	background: #eee;
	margin-bottom: 60px;
	font-family: "Lucida Sans Unicode", Verdana;
}
to

Code: Select all

body {
	color: #555;
	background: #eee url("http://yourWebsite.com/bg.jpg") no-repeat scroll left top / cover ;
	margin-bottom: 60px;
	font-family: "Lucida Sans Unicode", Verdana;
}
You have to upload your image and change http://yourWonderCMSWebsite.com/bg.jpg to the actual background image and this will work.