background image
-
hello, i would like to ask how to add a background image, like your demo.
thank you!
-
Hey there pavlosp,
How are you doing today?
You should be able to upload your background image in your admin panel in Appearance >> Customize >> Background Image http://screencast.com/t/N4wHz8c9Pw.
Hope this helps 🙂
Cheers,
Bojanthank you, i have on more question, i am using the same image background like your demo. My background is not focused at the center, seems to be focused on top, to be more specific, my background i see the top branches while your demo i see the road 🙂
Hey there pavlosp,
Sorry for the late response.
I’m not representing theme authors and a theme preview is not displaying background image for me so I’m not sure which image is that. Could you please post link to your site so I can take a look? Generally this is something that should be possible to fix with some custom CSS.
Looking forward for your response 🙂
Best regards,
Bojanthank you!
here is my link: eveland.gr
as you can see the image is focused at the topHey again pavlosp,
Thank you for the site link 🙂
Could you please try adding the following CSS code in the style.css file of your child theme or add it in your site using the following plugin:
http://ww.wp.xz.cn/plugins/simple-custom-css
body.custom-background { background-position: center; }This should display your background not focusing on the top part.
Please let me know if this helps 🙂
Best regards,
Bojanhello again Bojan, i have tried to add this css code, using the plugin that you recommended, also tried in the style.css
but no change.
Hey again pavlosp,
Sorry to hear the code didn’t work. Upon checking your site I couldn’t see the code added there, did you remove it?
You could try adding this instead:
body.custom-background { background-position: center !important; }Normally I wouldn’t suggest the use of the !important declaration. However, it can sometimes be a necessary evil when over-writing existing styles. You can find more info on the use of important declaration here:
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#The_!important_exception
Hope this helps 🙂
Cheers,
Bojanhello again, thank you for your support!
i have added the code using the Simple Custom CSS pluginbut seems not working, i have tried also the !important.
Hey again pavlosp,
I’m not being able to see the code added when inspecting your site. I’ve checked the theme and after adding the following code in Appearance >> CV Card Options >> General Settings >> CSS Code http://screencast.com/t/uwgVhtwJYHC everything worked:
body.custom-background { background-position: center !important; }Please try adding the code there. If this for any reason doesn’t work could you please keep the code there so I can check it out when inspecting your site.
Hope this helps 🙂
Best regards,
Bojanhello Bojan, i did again what you have told me to do, but no change.
Hey again pavlosp,
I’ve checked your site and it appears that the code is working, this is what I’m seeing there http://screencast.com/t/mHbgok5csp.
I guess this is just a caching issue. Could you please make sure that you clear browser cache before checking for changes?
Hope this helps 🙂
Best regards,
BojanThank you very much for your support!
All are fine! 🙂Glad I could help 🙂
Cheers,
Bojan
The topic ‘background image’ is closed to new replies.
