How to add background image

January 2013 WordPress Theme
GK User
Mon Jun 01, 2015 6:42 pm
Hello,
I just bought this template and was wondering how can I add a background image to the template. Would appreciate feedback on how to get this done.


Thank you
User avatar
Fresh Boarder

GK User
Mon Jun 01, 2015 10:50 pm
Hello,

Try to add the following code into the theme’s css/override.css file (make sure to enable the “Use the override.css file” option in Template options > Advanced in the WordPress backend)

Code: Select all
body {
   background: #fff url('path-to/your/image.jpg') no-repeat;
   background-size: cover;
}


more information may be found here:
http://www.w3schools.com/cssref/pr_background-image.asp
User avatar
Moderator

GK User
Tue Jun 02, 2015 12:12 am
Thanks this worked!
User avatar
Fresh Boarder


cron