Make default Divi header transparent on home page only

Divi Tips

Add the following CSS code to the Divi theme options area or your child theme style.css file.

/* make top nav bgd transparent on home page only */
.home #main-header, .home #top-header {
    background-color: rgba(255, 255, 255, 0) !important;
    box-shadow: none !important;
}
/* make Fixed top nav bgd transparent on home page only */
.home #main-header.et-fixed-header { background-color: rgba(255, 255, 255, 0) !important; }

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.