Product single page add to cart and quantity button not aligned and few more

This topic has 17 replies, 3 voices, and was last updated 2 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: yeb3ch
    Mario :)
    Participant
    June 24, 2024 at 02:55

    Hi

    I’ve got 5 issues as written below. Your help would be greatly appreciated.
    Credentials and screenshots are in private content area.

    1. Single Product Page. Align and make full width “Add to cart” and “Quantity” on desktop and mobile.

    2. “Add to cart” and “Quantity” has too much padding or margin when it’s a Single Product Page with Variation. And when it’s without Variation, it works well.
Please check the screenshot: pc-with-variation.png, pc-without-variation

    3. Reverse “~” and “Price” in Single Product Page and Products Carousel Elementor widget. Btw it already works fine on Shop page.
    The result should besuch as “XXXX ~”
    X is of course representing the price.

    4. Align “Price” and “Sale Price” in Single Product Page. I think it’s perfectly aligned on desktop and not on mobile.

    5. When scrolling any page on mobile, it shows a blank page for a while and then loads again.

    Thanks in advance.

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    June 24, 2024 at 10:26

    Hi @Mario :),

    For #1 and #2, please find and remove this custom CSS:

    
    .single-product .single_variation_wrap {
        display: flex;
        justify-content: center;
    }
    

    After that find this custom CSS:

    
    .single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
        flex-wrap: wrap !important;
        width: 60%;
    }
    

    And change to:

    
    .single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
        width: 100%;
    }
    

    For #3, please add this custom CSS:

    
    .single-product p.price {
        display: flex;
        flex-direction: row-reverse;
        justify-content: start;
    }
    

    For #4, this is how it looks on our end: https://prnt.sc/DQTS_kFJuAAH

    To make the button add to cart full-width, please also add this custom CSS:

    
    @media (max-width: 480px){
        .single-product button.single_add_to_cart_button.button {
            margin-left: 0 !important;
            margin-right: 0 !important;
        }
    }
    

    For #5, that’s the lazy loading widget featured of XStore theme to reduce the loading time of your website.

    Best Regards,
    8Theme’s Team

    Avatar: yeb3ch
    Mario :)
    Participant
    June 25, 2024 at 08:42

    Hi Luca,

    Thanks for the quick reply.

    Concerning #1 & #2 , I’ve been checking Theme Custom CSS, Additional CSS, even Elementor side but couldn’t find it. Any solution?

    #5, it’s the 4th website I use Xstore but never had this before. How can I solve it? Or could you log and arrange that.

    Regards,
    Mario 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    June 25, 2024 at 11:26

    Hi @Mario :),

    We would like to check your website but this admin account is not working anymore.

    Could you please double check?

    Thank you!

    Please contact administrator
    for this information.
    Avatar: yeb3ch
    Mario :)
    Participant
    June 25, 2024 at 12:52

    Hi Luca,

    Please check again the credentials I’ve put previously. It is correct.

    Regards,
    Mario 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    June 26, 2024 at 11:35

    Dear Mario,

    We hope this message finds you well.

    We would like to inform you that your custom CSS codes have been integrated under the “Add To Cart Form” element > Custom CSS. You can review the placement here: https://prnt.sc/6U1sCXYa35aw.

    Could you kindly access the Single Product Template via Elementor and update the custom CSS as required?

    Additionally, regarding item #5, we would greatly appreciate your assistance in creating a video tutorial. Your expertise would be invaluable in this endeavor.

    Thank you for your attention and cooperation.

    Best regards,
    The 8Theme Team

    Avatar: yeb3ch
    Mario :)
    Participant
    June 27, 2024 at 00:09

    Hi Luca,

    Thanks for your help.

    Concerning #5, wish I could participate but my client won’t allow me to do that. I hope you understand.
    Could you still let me know how to fix #5

    Regards,
    Mario 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    June 27, 2024 at 11:15

    Hi @Mario :),

    We mean we’re still not clear on the issue #5. Could you please share a video/screenshot?

    Thank you!

    Avatar: yeb3ch
    Mario :)
    Participant
    July 1, 2024 at 01:09

    Hi Luca,

    Video added in private content area.

    Regards,
    Mario 🙂

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    July 1, 2024 at 06:32

    Hi @Mario :),

    The loading time on mobile sometimes is slower than desktop version depends on the size of the images.

    We suggest you to enable the lazy loading under XStore > Theme Options > Speed Optimization >
    Image Loading Type > select Lazy:

    https://prnt.sc/QgVLIq4C8CG0

    Best regards,
    The 8Theme Team

    Avatar: yeb3ch
    Mario :)
    Participant
    July 12, 2024 at 05:37

    Hi Luca,

    I’ve been testing Lazy Load but don’t change a lot. Do you have another solution.

    Also, few more questions. Screenshots in private.

    1. I find a huge blank on top page when watching on mobile. Can’t find the reason why.. Please take a look on it and reduce.

    2. “Checkout, “Apply Coupon”, “Clear Cart” buttons in Cart page are not aligned properly.

    3. Same question as before but for mobile: “Add to cart” and “Quantity” has too much padding or margin when it’s a Single Product Page with Variation.

    4. Buttons in Wishlist are not aligned and sized properly in mobile and desktop

    5. Mega menu are not aligned and sized properly in mobile and desktop

    Btw, please feel free to login directly and make modification and/or checks. Credentials were given in previous private content area.

    Regards,
    Mario 🙂

    Please contact administrator
    for this information.
    Avatar: yeb3ch
    Mario :)
    Participant
    July 12, 2024 at 07:37

    6. When opening the top page on mobile, it doesn’t show the page correctly. Seems like an issue with CSS.. Please check the video in private.

    Regards,
    Mario 🙂

    Please contact administrator
    for this information.
    Avatar: yeb3ch
    Mario :)
    Participant
    July 13, 2024 at 03:49

    A quick help would be greatly appreciated.

    Thanks in advance.

    Avatar: Justin
    Luca Rossi
    Support staff
    July 13, 2024 at 08:10

    Hi @Mario :),

    1. As we said in the previous replies, some widgets are using the AJAX loading so they need time to load, do you want to remove this feature completely?

    2. We’ve fixed this issue for you. There were some br tags that cause the spacing issue.

    3. Please try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    @media (max-width: 600px){
        .single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
            width: 100%;
        }
    }
    

    4. It’s because of your custom CSS codes:

    
    .btn.small.black, .btn.medium.black, .btn.big.black, .before-checkout-form .button, .etheme-above-checkout-form .button, .checkout-button, .shipping-calculator-form .button, .single_add_to_cart_button.button, .single_add_to_cart_button.button:focus, .single_add_to_cart_button.button.disabled, .single_add_to_cart_button.button.disabled:hover, .et-quick-view-wrapper .single_add_to_cart_button.button, .et-quick-view-wrapper .single_add_to_cart_button.button:focus, .et-quick-view-wrapper .single_add_to_cart_button.button.disabled, .et-quick-view-wrapper .single_add_to_cart_button.button.disabled:hover, form.login .button, form.register .button, form.register .button.woocommerce-Button, form.lost_reset_password .button, .woocommerce-EditAccountForm .woocommerce-Button, .empty-cart-block .btn, .empty-wishlist-block .btn, .empty-compare-block .btn, .empty-category-block .btn, .woocommerce-mini-cart__empty-message .btn, .form-submit input[type="submit"], #commentform input[type="button"], .form-submit input[type="submit"]:focus, .my_account_orders .view, .et-quick-view-wrapper .product_type_variable, .et-quick-view-wrapper .product_type_variation, .coupon input[type="submit"], .widget_search button, .widget_product_search button, .woocommerce-product-search button, form.wpcf7-form .wpcf7-submit:not(.active), .woocommerce table.wishlist_table td.product-add-to-cart a, .wcmp-quick-info-wrapper form input[type=submit], .product_list_widget .buttons a, .et-wishlist-widget .wishlist-dropdown .buttons .btn-view-wishlist, .btn-checkout, .mini-cart-buttons .button:not(.btn-checkout), .mini-cart-buttons a, .form-row.place-order .button, .search-full-width form .btn, .xstore-wishlist-action .button, .xstore-compare-button .button, .form-actions .add-all-products, .form-actions .compare-more-products, .form-actions .xstore-wishlist-actions, .form-actions .xstore-compare-actions, .et-cookies-popup-wrapper .cookies-button, body .etheme-checkout-page-next-step, .etheme-checkout-page-steps-footer #place_order, body .etheme-checkout-page-previous-step, .etheme-elementor-cart-checkout-page-coupon .button, .etheme-elementor-cart-checkout-page-login-form .button {
        font-weight: 400;
        text-transform: capitalize;
        border-style: none;
        margin-top: 30px;
    }
    

    We’ve removed the margin-top: 30px; and everything looks good.

    5. How can we access this? This is how it looks now: https://prnt.sc/m4J3cUC6zgQv

    6. Please double check the responsive & margin settings of your sections & inner sections, maybe there are some margin. We also suggest you to convert all the old sections to containers: https://elementor.com/help/convert-existing-sections-to-containers/.

    Best regards,
    The 8Theme Team

    Avatar: yeb3ch
    Mario :)
    Participant
    July 13, 2024 at 09:55

    Hi Luca,

    Thanks for the reply.

    For 1., please remove it.
    For 5., I’ve removed the mega menu.

    Regards,
    Mario 🙂

    Avatar: Justin
    Luca Rossi
    Support staff
    July 13, 2024 at 16:03

    Hi @Mario :),

    For #1, please add the following code under functions.php file locates in your child theme:

    
    add_filter('etheme_ajaxify_elementor_widget', '__return_false');
    add_filter('etheme_ajaxify_lazyload_widget', '__return_false');
    add_filter('etheme_ajaxify_script', '__return_false');
    add_filter('et_ajax_widgets', '__return_false');
    

    After that try adding this custom CSS under XStore > Theme Options > Theme Custom CSS > Global CSS:

    
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container {
        opacity: 1;
        visibility: visible;
    }
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before {
        display: none;
    }
    
    

    Best regards,
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 30, 2024 at 05:17

    Dear Mario :),

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

  • Viewing 17 results - 1 through 17 (of 17 total)

The issue related to '‘Product single page add to cart and quantity button not aligned and few more’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.