Grid views in mobile - by wittyspaces - on WordPress WooCommerce support

This topic has 4 replies, 3 voices, and was last updated 9 years ago ago by Robert Hall

  • Avatar: wittyspaces
    wittyspaces
    Participant
    March 17, 2015 at 12:10

    Is there a way to change the view in mobile? I want to have perhaps rows of 2 products instead of just one. It causes an issue for sites that have multiple products and requires a lot of scrolling.

    Having an option for two products on one row would be great.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 17, 2015 at 14:27

    Hello,

    Please try to use this code in custom.css file:

    @media (max-width: 480px) {.products-grid.product-count-3 .product:nth-child(n) {
        width: 50%;
    }}

    How to create custom.css you can watch in this tutorial.

    If there are still problems please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: wittyspaces
    wittyspaces
    Participant
    April 13, 2015 at 01:05

    This setting worked but all of the sudden it is no longer working.

    I can’t provide wp-admin credentials.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    April 13, 2015 at 10:52

    Hello,

    Please try to add this code in custom.css file and don’t forget to clean cache.

    @media (max-width: 479px){
    .products-grid.product-count-4 .product:nth-child(n) {
      width: 50%;
    }}

    Regards,
    Robert Hall.

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

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

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