Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS resizing of background image in block Reply To: resizing of background image in block

#282309
Shikkediel
Participant

Using inherit (just as an example because why would you when it can be targeted directly) I reckon it would look like this by the way:

.wpb_wrapper {
 background-position: 50%;
 background-repeat: no-repeat;
 background-size: cover;
}

.vc_custom_1549385221774 {
 background: inherit;
 background-image: url(/wp-content/uploads/2019/02/IMG_4733-bewerkt-3.jpg);
}