Archived topic
background-image page header
1 reply · Started by Christopher on June 29, 2017
Hi there
I have tried to display an image for my page header section with custom css. Even though I am using the important tag it is not displaying. It was there for a short time but now gone. When I used the page header settings in the dashboard it just didn't display.
.page-header-content {
height: 540px;
margin-top: 0px;
background: url(http://wevisit.dev.stimuluscreative.co.nz/wp-content/uploads/2017/06/Wevisit-helping-the-elderly-at-home.jpg), #28b8e6 !important;
background-size: 65% !important;
background-position: left center !important;
background: no-repeat !important;
}
Hi there,
Let's try to figure out why the page header settings in the meta box didn't work first.
Were you trying to add a page header for the blog page? If so you need to use the customizer settings for now:
https://docs.generatepress.com/article/blog-page-header/