Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1178032
    Andrei
    Participant

    Hi guys,

    There is a small problem with the variations select area on my single product page. When I don’t have any variations selected, the variations selection area has a width and when I select one of the variations, the width changes and it pushes “size” text down. I attached and image. I would like the position of the “size” text to be the same. My website is //sinestezic.com

    #1178380
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Please add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:

    .woocommerce div.product .summary .variations .value {
        padding-right: 0 !important;
        display: inline-block !important;
        width: 80% !important;
        float: right !important;
        max-width: 320px !important;
    }
    .woocommerce div.product .summary .variations select {
        width: 100% !important;
    }

    Let us know how this goes!

    #1181046
    Andrei
    Participant

    Hi Nabeel,

    The size field is smaller, but unfortunately the size text still moves down.

    #1181068
    Rad
    Moderator

    Hi there,

    Please replace that CSS with this,

     .woocommerce div.product .summary .variations .label {
    vertical-align: top;
    }

    Cheers!

    #1181125
    Andrei
    Participant

    Hi Rad, sorry, but it doesn’t work.

    #1181177
    Christian
    Moderator

    Please add the code below in your Appearance > Customize > Custom > Global CSS

    .woocommerce div.product .summary .variations select {
        display: block;
        float: right;
    }
    
    .woocommerce div.product .summary .variations .reset_variations {
        display: block !important;
    }

    Hope that helps. 🙂

    #1181299
    Andrei
    Participant

    Works great. Thank you Christian!

    #1181314
    Joao
    Moderator

    Glad to hear it,

    Have a great day.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1178032 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>