Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #514444

    In the mobile version of theme, the quantity +/- buttons in the shopping cart disappear. I have tried the following code to fix it, but although it makes it appear, it appears incorrectly.

    @media only screen and (max-width: 767px) {
    .responsive .shop_table .product-quantity {
      display: block;
    }}

    It messes up the shape of the table and the way that the text in the Product Name column appears.

    Any idea how to fix this?

    Many thanks. R

    #514469

    Hey richardelectrix!

    That element is not responsive which is why it’s hidden on very small screens.

    Best regards,
    Elliott

    #514475

    Okay, well then how are people supposed to change what’s on their list?

    #514480

    And if it can’t be visible, I still have the issue with the text in the Product Name column being misaligned on mobiles. How would I fix that?

    #514609

    Hi!

    The product name looks fine on my end. Take a screenshot and highlight what your seeing so we can get a better idea.

    Regards,
    Elliott

    #514619

    The text should either all be left justified or all be centre justified. I’m seeing the title center, the meta left, and the sku centre.

    Mobile cart problem

    #515090

    Hey!

    your last screenshot is not showing up for me. Please use imgur.com or dropbox for example.

    Cheers!
    Andy

    #515113
    #515715

    Hi!

    make it left justified using this code:

    .responsive table.shop_table.cart .product-name {
    text-align: left;
    }
    

    Best regards,
    Andy

    #521019

    I have fixed the issue and tidied up the mobile view …

    /****************************************************************
    ************* Add Qty fields to Mobile cart screens *************
    ****************************************************************/
    
    @media only screen and (max-width: 767px) { 
    .responsive .shop_table .product-quantity {
        /* width: 76px; */
        display: block;
        min-width: 50px;
        text-align: center;
        padding-bottom: 5px;
        font-size: 11px;
    }
    
    table div.quantity {
        width: 50px;
    }
    
    .responsive #top table .product-name {
        min-width: 190px !important;
        font-size: 11px;
        padding-left: 5px;
    }
    
    .responsive table.shop_table.cart td.product-remove {
        display: none;
    }
    
    .responsive table.shop_table.cart .product-remove {
        display: none;
    }
    
    /* div table.shop_table td {
        min-height: 120px;
    } */
    
    .cart td {
        border-style: none none none none;
    }
    
    .cart th {
        border-style: none none none none;
    }
    
    .cart table {
        border-collapse: inherit;
    }
    
    .responsive #top table .product-name {
        border-left-style: none;
    }
    
    tr th:first-child, tr td:first-child {
        border-left-style: none;
    }
    
    tr:first-child th, tr:first-child td {
        border-top-style: none;
    }
    
    }
    
    /* Individual control of the Plus and Minus buttons */
    @media only screen and (max-width: 767px) { 
    #top .main_color .quantity input.minus {
        display: none;
    }
    
    #top .main_color .quantity input.plus {
        display: none;
    }}
    #521524

    Hi!

    glad you could fix it. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Regards,
    Andy

    #608677

    @richardelectrix – Thanks for sharing your code. Works perfectly

    @support staff – The answer really should have come from you. It’s not too much to ask for people to see the quantity of items they are ordering on a mobile device.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘+ / – buttons in Cart not displaying in mobile’ is closed to new replies.