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('wp_footer', function () { | |
| if ( ! is_product() ) return; | |
| ?> | |
| <script> | |
| jQuery(document).ready(function($){ | |
| const $tabsWrapper = $('.woocommerce-tabs'); | |
| const $tabsList = $tabsWrapper.find('ul.tabs'); | |
| $('.woocommerce-Tabs-panel > li[role="presentation"]').each(function(){ |
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
| .woocommerce-Tabs-panel--description .alignleft { | |
| float: left; | |
| margin: 0.5em 1em 0.5em 0; | |
| } |
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( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 ); | |
| function woo_reorder_tabs( $tabs ) { | |
| if ( isset( $tabs['reviews'] ) ) { | |
| $tabs['reviews']['priority'] = 25; | |
| } | |
| if ( isset( $tabs['accessories'] ) ) { | |
| $tabs['accessories']['priority'] = 30; | |
| } |
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
| .sidebar.js-sidebar .widget_nav_menu li a { | |
| color: inherit; | |
| font-size: inherit; | |
| } | |
| .sidebar { | |
| background-color: #18130c; | |
| background-image: url(assets/img/general/pattern_bg.png); | |
| } |
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) { | |
| div[data-block-name="woocommerce/product-image-gallery"] .flex-control-thumbs { | |
| grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); | |
| } | |
| } | |
| .woocommerce-product-gallery img.flex-active { | |
| border: 1px solid #000; | |
| box-sizing: border-box; | |
| } |
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
| //TV show excerpt on TV show loop | |
| function masvideos_template_loop_tv_show_body_close() { | |
| global $post; | |
| $short_description = apply_filters( 'masvideos_template_loop_tv_show_short_desc', $post->post_excerpt ); | |
| ?><div class="loop-short-desc-custom" style=" height: 95px; overflow: hidden; margin-bottom: 20px; "> | |
| <?php echo $short_description; ?> | |
| </div> |
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 | |
| /** | |
| * Class MasVideos_TMDB_Importer_Controller file. | |
| * | |
| * @package MasVideos\Admin\Importers | |
| */ | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; | |
| } |
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 (max-width: 767px) { | |
| .sticky-wrapper .stick-this.stuck { | |
| position: initial; | |
| } | |
| } |
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
| //Menu color | |
| .wp-block-navigation__submenu-container.has-mega-menu .nav-title > .wp-block-navigation-item__content .wp-block-navigation-item__label { | |
| color: #000 !important; | |
| } | |
| .wp-block-navigation-submenu:not(.nav-title) .wp-block-navigation-item .wp-block-navigation-item__label { | |
| color: #797979; | |
| } |
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( 'woocommerce_before_single_product_summary', 'woocommerce_template_single_title', 7 ); |
NewerOlder