test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • gringo211985 Friend
    #198744

    Hi there,

    I’ve been trying to add the “add to cart” button to the latest products module but I’m having trouble in finding how to do this. Please see screenshot below,

    The top product is in the latest products module and the below are featured products. I want them to look the same so,

    How can I make the “add to cart” button available on the latest products module?

    Thanks 🙂


    1. 86781d6905
    Adam M Moderator
    #538781

    Hi,

    1. First, please open the your_root_folder/components/com_mijoshop/opencart/catalog/view/theme/bookshop/stylesheet/stylesheet.css file and remove these CSS rules :

    .product-grid .cart,
    .product-grid .wishlist,
    .product-grid .compare,
    .ja-product-grid .cart,
    .ja-product-grid .wishlist,
    .ja-product-grid .compare {
    margin-bottom: 0;
    display: none;
    width: 40px;
    height: 40px;
    overflow: hidden;
    position: absolute;
    bottom: 6px;
    }

    2. Then open the file your_root_folder/templates/ja_bookshop/css/themes/themedalguy/custom.css and look for this part:

    .box-product .name a {
    display: block;
    font-weight: 100;
    line-height: 24px;
    margin-bottom: 4px;
    min-height: 50px;
    text-decoration: none;
    }

    and update min-height property as follows:

    .box-product .name a {
    display: block;
    font-weight: 100;
    line-height: 24px;
    margin-bottom: 4px;
    min-height: 0;
    text-decoration: none;
    }

    Hope it helps.

    gringo211985 Friend
    #538833

    Thanks buddy, much appreciated 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  gringo211985 10 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum