Created
May 27, 2018 22:49
-
-
Save braddalton/379ba52c80e75bc77fe7fafad487ab04 to your computer and use it in GitHub Desktop.
Essence Pro Remove Background Gradient From Header Hero Image https://wpsites.net/web-design/essence-pro-remove-background-gradient-from-header-hero-image/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( $bg_image ) { | |
$output = '<style type="text/css">.header-hero { background-image: linear-gradient(0deg, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.85) 100%), url(' . esc_url( $bg_image ) . '); }</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment