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
| .tokoo-search-form-wrapper form.search-form, | |
| .tokoo-search-form-wrapper .woocommerce-product-search, | |
| .widget_search form.search-form, | |
| .widget_search .woocommerce-product-search, | |
| .widget_product_search form.search-form, | |
| .widget_product_search .woocommerce-product-search { | |
| z-index: 10; | |
| } | |
| .twitter-typeahead .tt-menu { |
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
| function electro_departments_menu_v2() { | |
| $calling_action = current_filter(); | |
| if ( 'electro_navbar_v2' === $calling_action ) { | |
| $theme_location = 'departments-menu'; | |
| $menu_title = apply_filters( 'electro_departments_menu_title', esc_html__( 'Shop by Department', 'electro' ) ); | |
| $menu_icon = apply_filters( 'electro_departments_menu_icon', 'ec ec-arrow-down-search' ); | |
| $menu_title = $menu_title . '<i class="departments-menu-v2-icon ' . esc_attr( $menu_icon ) . '"></i>'; |
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_filter( 'electro_compare_icon', 'ec_child_change_compare_icon', 20 ); | |
| function ec_child_change_compare_icon( $compare_icon ) { | |
| $compare_icon = 'fas fa-columns'; | |
| return $compare_icon; | |
| } | |
| add_filter( 'electro_wishlist_icon', 'ec_child_change_wishlist_icon', 20 ); | |
| function ec_child_change_wishlist_icon( $wishlist_icon ) { |
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
| .primary-navigation .menu-item-has-children:hover:after { | |
| position: absolute; | |
| display: block; | |
| content: ' '; | |
| width: 100%; | |
| height: 50px; | |
| } | |
| .primary-navigation .dropdown-menu { | |
| display: none; |
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
| if ( ! function_exists( 'electro_template_loop_tags' ) ) { | |
| /** | |
| * Output Product Tags | |
| * | |
| */ | |
| function electro_template_loop_tags() { | |
| global $product; | |
| $product_id = electro_wc_get_product_id( $product ); | |
| $tags = wc_get_product_tag_list( $product_id ); |
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
| @media (min-width: 1200px) { | |
| .header-v3 .navbar-search { | |
| max-width: 600px; | |
| } | |
| } | |
| .archive .widget .product-categories { | |
| background-color: #f4f4f4; | |
| } |
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
| <?php | |
| /** | |
| * Enqueue scripts and styles | |
| */ | |
| function electro_child_enqueue_scripts() { | |
| wp_enqueue_style( 'bootstrap', get_stylesheet_directory_uri() . '/css/bootstrap.css', array(), 20141119 ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'electro_child_enqueue_scripts' ); |
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
| jQuery(document).ready(function($){ | |
| if (jQuery(window).width() >= 1025){ | |
| $(".secondary-nav .dropdown-toggle").click(function () { | |
| var addressValue = $(this).attr("href"); | |
| location.href=addressValue; | |
| console.log(addressValue ); | |
| }); | |
| }; | |
| }); |
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_action( 'init', 'ec_child_remove_pif_actions', 20 ); | |
| add_filter( 'electro_template_loop_product_thumbnail', 'ec_child_append_second_product_thumbnail', 20 ); | |
| function ec_child_remove_pif_actions() { | |
| global $WC_pif; | |
| remove_action( 'woocommerce_before_shop_loop_item_title', array( $WC_pif, 'woocommerce_template_loop_second_product_thumbnail' ), 11 ); | |
| } | |
| function ec_child_append_second_product_thumbnail( $thumbnail ) { | |