• Resolved frangoaoalho

    (@frangoaoalho)


    Dear Woolentor Team, I hope to find you well.
    The plugin seems to work great with all widgets including the universal product layout.
    Although I am wondering how could I possibly add more breakpoints to this carousel, as it only has 3 (Desktop/Laptop, Tablet and Mobile). I would like to add at least 2 more (Landscape resolution)

    I noticed you have it in the universal_product.php, the following:

           $this->add_control(
                'sltablet_width',
                [
                    'label' => __('Tablet Resolution', 'woolentor'),
                    'description' => __('The resolution to the tablet.', 'woolentor'),
                    'type' => Controls_Manager::NUMBER,
                    'default' => 750,
                ]
            );
    
            $this->add_control(
                'heading_mobile',
                [
                    'label' => __( 'Mobile Phone', 'woolentor' ),
                    'type' => Controls_Manager::HEADING,
                    'separator' => 'after',
                ]
            );
    
            $this->add_control(
                'slmobile_display_columns',
                [
                    'label' => __('Slider Items', 'woolentor'),
                    'type' => Controls_Manager::NUMBER,
                    'min' => 1,
                    'max' => 4,
                    'step' => 1,
                    'default' => 1,
                ]
            );
    
            $this->add_control(
                'slmobile_scroll_columns',
                [
                    'label' => __('Slider item to scroll', 'woolentor'),
                    'type' => Controls_Manager::NUMBER,
                    'min' => 1,
                    'max' => 4,
                    'step' => 1,
                    'default' => 1,
                ]
            );
    
            $this->add_control(
                'slmobile_width',
                [
                    'label' => __('Mobile Resolution', 'woolentor'),
                    'description' => __('The resolution to mobile.', 'woolentor'),
                    'type' => Controls_Manager::NUMBER,
                    'default' => 480,
                ]
            );

    Obviously I am not going to be messing around with it nor the JS.

    Can you please help me?

    Attentively awaiting feedback,

    Best regards Team,

    • This topic was modified 4 months, 2 weeks ago by frangoaoalho.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Tarek Aziz

    (@tarekht)

    Hello @frangoaoalho,

    Thank you for reaching out to us.

    We have reviewed your message and understand your needs.

    Actually, our widget offers only the breakpoints that are seen or used almost everywhere.

    Currently, our plugin uses Slick Slider JS for this functionality. We’ll further analyze the slider capabilities to see if it supports adding more breakpoints.

    If it does, we’ll do our best to add more breakpoints to the carousel settings.

    Note: Modifying any codes in our plugin files is not recommended.

    Wishing you a wonderful day ahead!

    Best regards,
    Tarek Aziz

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.