Home Forums Themes Support Claue Add to cart button mobile

Viewing 7 reply threads
  • Author
    Posts
    • #16639

      Hi,

      The add to cart button on the mobile is not appearing. I currently have it on desktop enabled, but I need it to appear when someone clicks on a product on mobile as I have disabled the product image link and title and use the add to cart button as an external link.

      Many thanks,

    • #16640
      This reply has been marked as private.
    • #16643

      Hi,

      Please add below code to Claue > Theme Option > General Layout > Custom CSS

      @media only screen and (max-width: 1024px) {
      .yith-wcwl-add-to-wishlist ~ .product-btn {
      display: inline-block;
      top: 50% !important;
      left: 50% !important;
      transform: translate3d(-50%, -50%, 0);
      }
      }

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16648

      Hi this code is only showing the add to wishlist button, I was refering to the add to cart button.

       

      thank you

    • #16649

      Also i would like it to only appear on when clicked on. To be honest on mobile I wanted the product image to open external link when clicked on.

       

    • #16652
      This reply has been marked as private.
    • #16653

      Just adding to my issue above, I beleive this will be an on click action for mobile…?

    • #16656

      Hi,

      Please change code to

      @media only screen and (max-width: 1024px) {
      .yith-wcwl-add-to-wishlist ~ .product-btn,
      .products .product-type-variable .product-btn {
      display: inline-block !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate3d(-50%, -50%, 0);
      }
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 7 reply threads

You must be logged in to reply to this topic.