Plugin Directory

Changeset 2410957


Ignore:
Timestamp:
11/02/2020 09:38:58 AM (5 years ago)
Author:
devbunch
Message:

Archive col fix

Location:
master-elements/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • master-elements/trunk/addons/widgets/woo-product-archive/woo-product-archive.php

    r2409023 r2410957  
    244244//        $this->end_controls_section();
    245245
    246 //////////////////////////////////////////////////////////////////////////
    247 // Item Style Section
     246        //////////////////////////////////////////////////////////////////////////
     247        // Item Style Section
    248248        $this->start_controls_section(
    249249            'me-product-item-section',
     
    349349
    350350
    351 
    352 
    353351////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    354352
     
    364362
    365363
    366 
    367364        $this->add_responsive_control(
    368365            'me_product_item_border_radius',
     
    442439        $this->end_controls_section();
    443440
    444 // image Style Section
     441        // image Style Section
    445442        $this->start_controls_section(
    446443            'me-product-image-section',
     
    491488            'me_img_animation',
    492489            [
    493                 'label' => __( 'Transition', 'plugin-domain' ),
     490                'label' => __('Transition', 'plugin-domain'),
    494491                'type' => Controls_Manager::SLIDER,
    495                 'size_units' =>'px',
     492                'size_units' => 'px',
    496493                'range' => [
    497494                    'px' => [
     
    518515
    519516        $this->end_controls_tabs();
    520 /////////////////////////////////////////////////////////////////////////
     517        /////////////////////////////////////////////////////////////////////////
    521518
    522519        $this->add_responsive_control(
     
    546543        $this->end_controls_section();
    547544
    548 // Title Style Section
     545        // Title Style Section
    549546        $this->start_controls_section(
    550547            'me-product-title-section',
     
    647644        $this->end_controls_section();
    648645
    649 // Price Style Section
     646        // Price Style Section
    650647        $this->start_controls_section(
    651648            'me_product-price-section',
     
    732729        $this->end_controls_section();
    733730
    734 // Rating Style Section
     731        // Rating Style Section
    735732        $this->start_controls_section(
    736733            'me_product-rating-section',
     
    11681165
    11691166
    1170 // Pagination Style Section
     1167        // Pagination Style Section
    11711168        $this->start_controls_section(
    11721169            'me-product-pagination-section',
     
    13801377
    13811378
    1382 
    13831379        $this->end_controls_tab();
    13841380
     
    15471543            ]
    15481544        );
    1549 
    15501545
    15511546
     
    19411936        add_filter('product_custom_limit', array($this, 'custom_product_limit'));
    19421937
     1938        $mobile_width = 100 / $this->get_settings_for_display('me_columns_mobile');
     1939        $tablet_width = 100 / $this->get_settings_for_display('me_columns_tablet');
    19431940        require_once(ME_Path . 'addons/widgets/woo-product-archive/master_archive_products.php');
    19441941
     1942        ?>
     1943        <style>
     1944            @media screen and (max-width: 767px) {
     1945                .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
     1946                    width: <?= $mobile_width ?>%;
     1947                }
     1948            }
     1949
     1950            @media screen and (min-width: 768px) and (max-width: 1024px) {
     1951                .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
     1952                    width: <?= $tablet_width ?>%;
     1953                    clear:none;
     1954                }
     1955            }
     1956        </style>
     1957        <?php
    19451958        $mw_shortcode = new \Master_Archive_Products($settings);
    19461959        $shop_content = $mw_shortcode->get_content();
    19471960
    1948            echo $shop_content;
     1961        echo $shop_content;
    19491962
    19501963
  • master-elements/trunk/changelog.txt

    r2409023 r2410957  
     102/11/2020
     2
     3Version 7.4
     4
     5    [New] Master Archive Col
     6
    1729/10/2020
    28
  • master-elements/trunk/masterelements.php

    r2409023 r2410957  
    1010 * Plugin URI: https://akdesigner.com/
    1111 * Author: TeamDevBunch
    12  * Version: 7.3
     12 * Version: 7.4
    1313 * Tested up to: 5.5
    1414 * Author URI: https://devbunch.com/
  • master-elements/trunk/readme.txt

    r2409023 r2410957  
    6464
    6565== Changelog ==
     66= 02/11/2020 Version 7.4 =
     67*  [Fix] Master Archive Col
     68
    6669= 29/10/2020 Version 7.3 =
    6770*  [New] Master Archive Control
Note: See TracChangeset for help on using the changeset viewer.