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
//Singel product custom label | |
function display_regular_price_on_single_product() { | |
global $product; | |
if ( ! $product ) { | |
return; | |
} |
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
.tutor-toggle-more-content.tutor-toggle-more-collapsed { | |
height: auto !important; | |
} | |
.tutor-btn.tutor-btn-ghost, | |
.tutor-toggle-more-collapsed:before { | |
display: none; | |
} |
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
.features-list .media-left i, | |
.footer-call-us .call-us-icon i, | |
.footer-v2 .handheld-footer .handheld-footer-bar .footer-call-us .call-us-text span, | |
.handheld-footer .handheld-footer-bar .footer-call-us .call-us-text span, | |
.header-support-info .support-icon i, | |
.header-support-inner .support-icon, | |
.header-v13 .off-canvas-navigation-wrapper .navbar-toggler:hover, | |
.header-v13 .off-canvas-navigation-wrapper button:hover, | |
.header-v13 .off-canvas-navigation-wrapper.toggled .navbar-toggler:hover, | |
.header-v13 .off-canvas-navigation-wrapper.toggled button:hover, |
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
function display_regular_price_on_single_product() { | |
global $product; | |
if ( ! $product ) { | |
return; | |
} | |
$regular_price = $product->get_regular_price(); | |
echo '<span class="regular-price">' . wc_price( $regular_price ) . '</span>'; | |
} |
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
function redux_apply_handheld_header_logo( $logo ) { | |
global $electro_options; | |
$logo_image_src = ''; | |
if ( ! empty( $electro_options['handheld_header_logo']['url'] ) ) { | |
$logo_image_attr = $electro_options['handheld_header_logo']; | |
$logo_image_src = $electro_options['handheld_header_logo']['url']; | |
} elseif ( ! empty( $electro_options['site_header_logo']['url'] ) ) { | |
$logo_image_attr = $electro_options['site_header_logo']; | |
$logo_image_src = $electro_options['site_header_logo']['url']; |
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: 767px) { | |
.desktop-footer.d-none.d-lg-block.container { | |
display: block !important; | |
} | |
.desktop-footer .footer-widgets, | |
.desktop-footer .footer-bottom-widgets, | |
.desktop-footer .copyright-bar { | |
display: none; | |
} |
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
function electro_handheld_header_logo() { | |
electro_header_dark_logo( 'header-logo' ); | |
ob_start(); | |
?> | |
<div class="header-logo"> | |
<a href="https://www.nagata-ss.co.jp/" class="header-logo-link"> | |
<img src="https://products.nagata-ss.co.jp/wp-content/uploads/2022/10/cropped-株式会社ナガタCMYK-.png" alt="商品情報-(株)永田製作所/(株)ナガタ" class="img-header-logo" width="190" height="39"> | |
</a> |
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
function cartzilla_get_footer_logo() { | |
$logo_id = (int) get_theme_mod( 'footer_logo' ); | |
$footer_custom_logo_id = apply_filters( 'cartzilla_custom_footer_logo', ''); | |
if ( !empty ($footer_custom_logo_id)) { | |
$footer_custom_logo_attr = [ | |
'class' => 'footer-logo', | |
]; | |
// If the logo alt attribute is empty, get the site title |
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
.post-type-archive-product .u-slick__tab div#list-view { | |
display: block !important; | |
height: auto !important; | |
opacity: 1; | |
} | |
.post-type-archive-product div#grid-view { | |
display: none; | |
} |
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
.woocommerce-product-gallery__wrapper:hover a img { | |
opacity: 0; | |
} |
NewerOlder