Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Let’s see the page in question.
This is the page
I would like this image on homepage as the image on all pages.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
This didn’t work;
#page {
background-image: url(http://osivanamazuranica.hr/wp-content/uploads/skola2013-CB.png);
}
?
I have put it in body. This is how it was:
body {
background: #fff;
line-height: 1;
}
I have made this change (image has another name because of transparency):
body {
background-image:url(‘http://osivanamazuranica.hr/public_html/wp-content/uploads/skola2013-CB-prozirno30p.png’)
/* background: #fff; */
line-height: 1;
}
I have tried several versions, but none has worked.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
I don’t understand what you’re trying to do sorry.
I would like to put a picture behind the text on all posts. I want to remove white back behind text and put an image.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
How come you’re not importing the styles over using “@import
” in your Child Theme style.css file?
It should be an image as watermark behind the text.
I am not so good in css. Can you tell me step by step what should I do if you understand me?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Instead of copying all of the parent theme’s code, just import it using the “@import
” rule, for example:
/* =Imports styles from the parent theme
-------------------------------------------------------------- */
@import url('../twentythirteen/style.css');
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
So, I will delete all of it and leave
/*
Theme Name: Twenty Eleven Child
Theme URI: http://wordpress.org/extend/themes/twentyeleven
Author: the WordPress team
Author URI: http://wordpress.org/
Template: twentyeleven
/*
@import url(‘../twentyeleven/style.css’);
?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support