Change background web

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Wed Aug 17, 2016 12:19 pm
Hello! I need to change the white background of the web by an image (instead of the default white) Thanks for the help!
User avatar
Fresh Boarder

Joshua M
Wed Aug 17, 2016 10:34 pm
Hello,


Do you mean white background on the frontpage, between gray sections or background of your posts/pages?
User avatar
Moderator

GK User
Thu Aug 18, 2016 8:25 am
Please send me the two is likely to need them! Thank you
User avatar
Fresh Boarder

GK User
Thu Aug 18, 2016 8:53 am
Please send me the two is likely to need them! Thank you
User avatar
Fresh Boarder

Joshua M
Fri Aug 19, 2016 7:47 am
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):

for the frontpage:
Code: Select all
.gk-page-wrap.gk-is-homepage {
   background: url('path-to-your-image');
}

#gk-bottom1 .mediumspaces {
   background: url('path-to-your-image');
}



for the post/page:
Code: Select all
.single #gk-content-wrapper {
   background: url('path-to-your-image');
}
User avatar
Moderator

GK User
Fri Aug 19, 2016 9:18 am
thank you very much!
User avatar
Fresh Boarder

GK User
Fri Aug 19, 2016 9:57 am
Sorry, I am unable, I think I do not quite understand the part of the path, could you give me an example?

Something like that?
Captura de pantalla 2016-08-19 a las 10.51.28.png
User avatar
Fresh Boarder

Joshua M
Mon Aug 22, 2016 8:44 am
Hi,

Yes, the first part of your code should be ok (with localshot path), please check the following article:
http://www.w3schools.com/cssref/pr_background-image.asp
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.