Product Archive Template for mobile device 2 columns

This topic has 6 replies, 2 voices, and was last updated 6 years, 10 months ago ago by Rose Tyler

  • Avatar: hscoms
    hscoms
    Participant
    February 25, 2018 at 13:06

    Hi,

    I would like to have show 2 columns of products on teh product archive template page for mobile devices.

    Can you help me?

    Harry

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 26, 2018 at 08:39

    Hello,

    Please add this code in Theme Options > Custom css > Custom css for mobile:

    .products-grid .product {
        width: 50% !important;
    }
    .products-grid .product .button.addtocartbutton {
        padding-right: 0px;
        padding-left: 0;
        width: 75%;
    }

    Regards

    Avatar: hscoms
    hscoms
    Participant
    February 26, 2018 at 10:08

    Hi Rose,

    Thank you for the prompt reply.

    I have added the css code to the mobile custom css but found no change on the mobile device. Still seeing one product view in grid.

    Please find the URL in private content.

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 26, 2018 at 11:06

    Please change the previous code to this one:

    .products-grid .product-content-image {
        width: auto;
        height: auto;
    }
    .products-grid .product {
        width: 50% !important;
    }
    .products-grid .product-title {
        margin-bottom: 10px !important;
        height: auto !important;
    }

    Regards

    Avatar: hscoms
    hscoms
    Participant
    February 26, 2018 at 12:04

    Thank You Rose.

    Harry

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 26, 2018 at 13:25

    You’re welcome!
    Have a nice day.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

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