New Landing How can we help? Atelier Button issues in mobile modes (wrong alignment and misplacing)

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Atelier
  • #303256
    haastee
    Member
    Post count: 47

    Hello,

    I´m having issues with the look of buttons (ADD TO CART, WISHLIST and PRODUCT QUANTITY) – see attached screenshots:

    1) iPad mini 2: in portrait mode and QUICKVIEW all the buttons are missaranged (in landscape mode everything looks fine).

    2) iPhone 4s: in QUICKVIEW buttons are wrong, in SINGLE PRODUCT VIEW also.

    I thought it´s connected with the custom button text (“hinzufügen”) but I changed the text back to “add to cart” and the problem still is there.

    Thats the custom code in functions.php for the custom text I used:

    add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘woo_custom_cart_button_text’ ); // 2.1 +

    function woo_custom_cart_button_text() {

    return __( ‘HINZUFÜGEN’, ‘woocommerce’ );

    }

    Also when I deleted that code completely the problem was still occuring.

    Thanks,
    Michael

    Attachments:
    You must be logged in to view attached files.
    #303524
    David Martin – Support
    Moderator
    Post count: 20834

    What theme version are you using?

    Please make sure you have updated to the latest theme version 2.4+ and all plugins are updated.

    Please add a WP login also.

    #303596
    haastee
    Member
    Post count: 47

    I´m using Atelier Version: 2.4.14 (with Child Theme) and all plugins have been up to date…

    #303818
    haastee
    Member
    Post count: 47
    This reply has been marked as private.
    #304123
    David Martin – Support
    Moderator
    Post count: 20834

    Those login details are not working. Can you check?

    Please can you disable all plugins leaving only Swift Framework and WooCommerce active. Please also disable the child theme.

    #304126
    haastee
    Member
    Post count: 47

    Login should work now…

    #304180
    haastee
    Member
    Post count: 47

    I disabled (deleted) all custom CSS – no change.
    I deleted all custom input in functions.php – no change.

    That issue also is also visible on desktop when sizing the browser to mobile size.

    Attachments:
    You must be logged in to view attached files.
    #304182
    haastee
    Member
    Post count: 47
    This reply has been marked as private.
    #304542
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please add this to Theme Options => Custom CSS:

    @media only screen and (max-width: 479px) {
    .woocommerce form.cart .yith-wcwl-add-to-wishlist, 
    .yith-wcwl-add-to-wishlist.oos {
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    #jckqv .cart .single_add_to_cart_button {
        width: 100%;
        margin-top: 20px;
        float: left!important;
    }
    .woocommerce .cart .yith-wcwl-add-to-wishlist, .yith-wcwl-add-to-wishlist.oos {
      width: 100%;
      text-align: center;
    }
    #jckqv .quantity {
        width: 25%!important;
        clear: none;
    }
    #jckqv .quantity {
        display: inline-block;
    }
    }
    #304595
    haastee
    Member
    Post count: 47

    The add-to-cart- and wishlist-buttons are working fine now – but the quantity arrows are still out of order (2nd screenshot shows how the wishlist-button also is in wrong size and alignment when in tablet-screen-size)

    Attachments:
    You must be logged in to view attached files.
    #304935
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    What browser size is that?

    Can you screenshot the developer view so I have a size/device reference. Like so:

    #305075
    haastee
    Member
    Post count: 47

    Here you are:

    Attachments:
    You must be logged in to view attached files.
    #305303
    David Martin – Support
    Moderator
    Post count: 20834

    Please add these:

    @media only screen and (max-width: 479px) {
    .woocommerce .quantity .qty-adjust {
        position: absolute;
        top: 0;
        left: 43px;
        right: auto;
    }
    #jckqv .cart .single_add_to_cart_button {
        margin-top: 0px;
    }
    }
    @media(min-width:768px) and (max-width:800px) {
    .woocommerce form.cart .yith-wcwl-add-to-wishlist, 
    .yith-wcwl-add-to-wishlist.oos {
        float: left;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
    #jckqv .cart .single_add_to_cart_button {
        width: 100%;
        margin-top: 0px;
        float: left!important;
    }
    .woocommerce .cart .yith-wcwl-add-to-wishlist, .yith-wcwl-add-to-wishlist.oos {
      width: 100%;
      text-align: center;
    }
    #jckqv .quantity {
        width: 25%!important;
        clear: none;
    }
    #jckqv .quantity {
        display: inline-block;
    }
      .woocommerce .quantity .qty-adjust {
        position: absolute;
        top: 0;
        left: 43px;
        right: auto;
    }
    }
    #305313
    haastee
    Member
    Post count: 47

    Adding this css to the existing ones in your first replies or substituting them?

    #305326
    haastee
    Member
    Post count: 47

    I tried both ways (adding and exchanging) – the overlapping is gone now, but it still doesn´t work right (see screenshots).

    From 800px screen size in a standard browser it seems fine (except the wishlist button is not also enlarged to full size), at 799px it starts to look wrong. Then at 767px screen size (single product view changes to mode without sidebar) the quantity field is in order again (but add-to cart and wishlist-buttons not resizing to full width).

    At 479px the next change happens and it hops into the wrong display again (add-to cart and wishlist-buttons are resizing to full width but wishlist button is to far below the add-to-cart button).

    In Quickview it looks like on the screenshots (please check all the different screensizes in your browser, you will see what happens at which screen size).

    Michael

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register