Create a background image behind the menu on the header

Create a background image behind the menu on the header

Home Divi Code Snippet Library Growing collection of 'Divi Header' Tutorials Create a background image behind the menu on the header

To create a background image behind the menu on the header:

#main-header::after {
    content: "";
    background-image: url('#');
    background-size:cover;
    opacity: 1.0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}