“Add to Cart” button disappeared on mobile! Only the “Buy Now” button is visible.

3 replies3 participantsUpdated by Ayan Rahman

  • Avatar: Recep
    Recep
    Participant

    Hello,

    Yesterday, we noticed that the sticky “Add to Cart” button on mobile had disappeared! Only the “Buy Now” button was visible. (We’ve been using both side-by-side for years.)

    We don’t know when this happened, but it could have been after the latest theme update. We’ve been using it this way for about five years. We haven’t installed any plugins or anything similar in recent weeks.

    Do you have any information about the problem or a suggested solution?

    Files is visible for topic creator and
    support staff only.

    3 Answers

    Avatar: Samir Malik
    Samir Malik
    Support staff

    Dear, Recep,

    The issue occurred because the custom CSS code located in the style.css file of your child theme contained the following rule:

    
    @media only screen and (max-width: 767px) {
        .etheme-sticky-cart .add_to_cart_button, .etheme-sticky-cart .et-or-wrapper {
            display: none;
        }
    }
    

    We have removed this code, and everything should now be working correctly.

    Best regards,
    8Theme Team

    Avatar: Recep
    Recep
    Participant

    Thanks.

    Finally, what does this removed code do in this case?

    Regards,

    Recep

    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff

    Hi, Recep,

    Thank you for reaching out to us.

    On screens up to 767px wide (meaning mobile devices), it hid the buttons and elements inside the sticky cart.
    Which elements were hidden? The “Add to cart” button (add_to_cart_button) inside the sticky cart; The et-or-wrapper block.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Warm Regards,
    The 8Theme Team

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register