Forum Replies Created

Viewing 10 posts - 881 through 890 (of 15,048 total)
  • Author
    Posts
  • in reply to: How I can place text middle of the banner? #42201

    Hi,

    Please change to 175 and 175 for desktop and add custom css for mobile in claue > theme option > general layout > custom css

    @media only screen and (max-width: 736px) {
    .vc_custom_1630341320325 {
    	padding-top: 85px !important;
    	padding-bottom: 45px !important;
    }}

    KInd regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: How I can place text middle of the banner? #42199

    Hi,

    Sorry for late reply.

    Please change padding of box to 175px for top and 175px for bottom https://tppr.me/Xa56H

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: Name of the selected product option #42197

    Hello Hlainin,

    This feature of plugin, the theme can’t do. We only can help you add current color to product tittle name by add below code to claue-child > functions.php

    add_filter( 'wp_footer','custom_product_title_script' );
    function custom_product_title_script(){
        global $post;
    
        // Only single product pages
        if( ! is_product() ) return;
    
        // get an instance of the WC_Product Object
        $product = wc_get_product($post->ID);
    
        // Only for variable products
        if( ! $product->is_type( 'variable' ) ) return;
    
        // Here set your specific product attributes in this array (coma separated):
        $attributes = array('pa_colour');
    
        // The 1st loop for variations IDs
        foreach( $product->get_visible_children() as $variation_id ) {
    
            // The 2nd loop for attribute(s)/value
            foreach($product->get_available_variation( $variation_id )['attributes'] as $key => $value_id ){
                $taxonomy = str_replace( 'attribute_', '', $key ); // Get the taxonomy of the product attribute
    
                // Just for defined attributes
                if( in_array( $taxonomy, $attributes) ){
                    // Set and structure data in an array( variation ID => product attribute => term name )
                    $data[ $variation_id ][$taxonomy] = get_term_by( 'slug', $value_id, $taxonomy )->name;
                }
            }
        }
    
        ?>
            <script type="text/javascript">
                (function($){
                    // variables initialization
                    var variationsData = <?php echo json_encode($data); ?>,
                        productTitle = $('.product_title').text(),
                        color = 'pa_colour';
                    console.log(variationsData);
    
                    // function that get the selected variation and change title
                    function update_the_title( productTitle, variationsData, color ){
                        $.each( variationsData, function( index, value ){
                            if( index == $('input.variation_id').val() ){
                                $('.product_title').text(productTitle+' - '+value);
                                console.log('TITLE UPDATED');
                                return false;
                            } else {
                                $('.product_title').text(productTitle);
                            }
                        });
                    }
    
                    // Once all loaded
                    setTimeout(function(){
                        update_the_title( productTitle, variationsData, color );
                    }, 300);
    
                    // On live event: select fields
                    // $('select').blur( function(){
                    //     update_the_title( productTitle, variationsData, color );
                    // });
    
                    $('#pa_colour').on('change', function(){
                       // update_the_title( productTitle, variationsData, color );
                        setTimeout(function(){
                          update_the_title( productTitle, variationsData, color );
                        }, 300);
                    });
                    
                })(jQuery);
            </script>
        <?php
    }

    Kínd regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: Product Page Variation Behaviour Problem #42194

    Hello Guillaume,

    Please renew your support deactivate plugin Open Swatch and install new plugin WooCommerce Variation Swatch

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: cannot install claue addons #42192

    Can you create new admin account and send as private reply. So i can check the download plugin again.

    Thanks

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: How to get 2 product columns on mobile #42191

    Hi TeamS,

    Thank you for choose our theme.

    Please try deactivate plugin WordPress Store Location https://tppr.me/QvaVI it cause conflict Js.

    If issue still there, please send me admin account to check.

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: cannot install claue addons #42189

    I used the link you sent it ok. But when i click to dashboard it redirect to wp-admin and i can’t access the dashboard.

    Kindly regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: cannot install claue addons #42188

    Hi,

    I open your site it always show message https://tppr.me/EDD8o

    please try step 2,3 or 4 https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: cannot install claue addons #42187

    Hi,

    I visit your site it slow, please follow this topic https://wpmudev.com/blog/increase-memory-limit/ to increase memory “memory_limit” and max_execution_time

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    in reply to: Issue with add to cart #42186

    Hi,

    Please change padding of box to 175px for top and 175px for bottom https://tppr.me/Xa56H

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 10 posts - 881 through 890 (of 15,048 total)