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
.mkl_pc .mkl_pc_container .mkl_pc_viewer .mkl_pc_layers *:not(.current_layer) { | |
opacity: 0; | |
} |
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
@media (max-width: 660px) { | |
.mkl_pc .mkl_pc_container .mkl-pc-show-form { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart { | |
position: relative; | |
padding: 0; | |
background: transparent; | |
box-shadow: none; | |
border-radius: 0; |
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
<?php | |
/** | |
* Replace the `ver` query arg with the file's last modified timestamp | |
* | |
* @param string $src URL to a file | |
* @return string Modified URL to a file | |
*/ | |
function filter_cache_busting_file_src( $src = '' ) { | |
global $wp_scripts; | |
// If $wp_scripts hasn't been initialized then bail. |
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
<?php | |
/** | |
* Take Accent color, and convert it to RGBA, and add an opacity of .75. | |
*/ | |
$accent = get_theme_mod( 'site_accent_color' ); | |
$accent_string = ltrim( $accent, '#' ); | |
$arr = str_split( $accent_string, '2' ); | |
foreach ( $arr as $value ) { | |
$new_value = hexdec( $value ) . ', '; |