Hi. I try add Background-image from welcome-box.
Add this text in file header.php , section
.block.head .block-inner {
background-image: url(http://geometree.by/wp-content/uploads/2016/05/2tree-23.png);
But I see on the home page only a piece of my image. Maybe I have to add some more features in .block.head .block-inner ?? Or format the size of my images?
I’m on the right track?
You can use the following code to resolve this issue:
.block .block-inner {
background-image: url('http://geometree.by/wp-content/uploads/2016/05/2tree-23.png') !important;
background-size: cover !important;
}
Also, if you want to use this image, you need change the text color, you can use the following code:
.block.head h1, .block.head h2 {
color: #...;
}
Hope this helps!
Thanks. I add this code
.block .block-inner {
background-image: url(‘http://geometree.by/wp-content/uploads/2016/05/2tree-23.png‘) !important;
background-size: cover !important;
}
But I see it "background-image" not only on the Wellcome-box but also on several other posts on the main page.
What do you think of it? (Sorry if I’m asking too many questions.)
No problem! It’s my confusion, you can try the following code:
#block-welcome-box .block-inner {
background-image: url(‘http://geometree.by/wp-content/uploads/2016/05/2tree-23.png‘) !important;
background-size: cover !important;
}
Or
.block.head .block-inner {
background-image: url(‘http://geometree.by/wp-content/uploads/2016/05/2tree-23.png‘) !important;
background-size: cover !important;
}
O I’m so happy. All works. Orphografic mistake !!!! Thanks
If you have any issue or question, please let me know, I will check and help you resolve it.
Please login or Register to submit your answer