This topic has 6 replies, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #74252
     louder
    Participant

    hello,

    I am using variations in woocommerce and when I am in the backend trying to edit a product the variation and attribute screens are pushed to the left so that you can’t completely see the information. i have taken a screenshot so you can see.

    Any help would be greatly appreciated.

    #74393
     louder
    Participant
    This reply has been set as private.
    #74404
     Radu
    Moderator

    Hi,

    Can you provide the screenshot first ?

    Regards

    RAdu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #74405
     louder
    Participant
    This reply has been set as private.
    #74411
     Radu
    Moderator

    Sorry but here is no screenshot added.

    Fix for the issue :

    Add the below css snippet to this file wp-content/plugins/woocommerce/assets/css/admin.css at the end.

    #woocommerce-coupon-data ul.wc-tabs, #woocommerce-product-data ul.wc-tabs, .woocommerce ul.wc-tabs {
    margin: 0;
    width: auto !important;
    }

    Let me know if it’s ok

    Best regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #74412
     louder
    Participant
    This reply has been set as private.
    #74544
     Radu
    Moderator

    Hi,

    I see that the problem it’s solved,

    I case if you encounter the same problem again use this function

    COPY CODE
    
    function woocommerce_variations_fix(){
        echo "<style>\n";
        echo '
    		#woocommerce-coupon-data ul.wc-tabs, #woocommerce-product-data ul.wc-tabs, .woocommerce ul.wc-tabs {
    		width: auto !important;
    		}
    ';
        echo "\n</style>";
    }
    add_action( 'admin_print_styles', 'woocommerce_variations_fix' ,90);
    

    Add this function to kleo-child/functions.php

    Can you confirm if the problem was solved?

    Regards

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?