This file contains hidden or 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
// Add styling to the CSS file | |
.facets__price input[type='range'] { | |
-webkit-appearance: none; | |
padding: 0; | |
font: inherit; | |
outline: none; | |
color: rgb(var(--color-foreground)); | |
opacity: .8; | |
background: rgb(var(--color-foreground)); |
This file contains hidden or 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
/** | |
* Wrap embed html with bootstrap responsive embed div | |
*/ | |
function bootstrap_embed($html, $url, $attr) { | |
if (!is_admin()) { | |
return "<div class=\"embed-responsive my-4 embed-responsive-16by9\">" . $html . "</div>"; | |
} else { | |
return $html; | |
} | |
} |