New Landing How can we help? Themeforest Theme Support Neighborhood Changing CSS to show a single column of products on mobile?

Viewing 12 posts - 1 through 12 (of 12 total)
  • #311333
    DistantLands
    Member
    Post count: 59

    Currently, if you visit the Shop or Home pages on mobile, the products who up 2 per row. We want the product divs larger, and online one column wide, so it’s just a vertical list of products. How can we accomplish this on Mobile only?

    #311488
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option.

    @media only screen and (max-width: 479px){
    body .woocommerce-shop-page ul.products li.product, body .product_list_widget > div > ul.products li.product {
        width: 100%!important;
    }
    }

    Let us know if it worked.

    -Rui

    #311550
    DistantLands
    Member
    Post count: 59

    Works great, thanks much!

    #311563
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.Glad I could help.

    -Rui

    #311752
    DistantLands
    Member
    Post count: 59

    For some reason, your forum doesn’t allow me to change the status on these topics, so you can close this one Resolved. THx

    #311785
    David Martin – Support
    Moderator
    Post count: 20834

    Marking as resolved.

    #330504
    paulbdesign83
    Member
    Post count: 8

    Hello again guys,

    I am looking to have products display single column on mobile too. I have tried adding the above code but doesn’t appear to have made a difference.

    Could you please supply me with the code that would work on the Neighborhood theme?

    Thanks again for you great support.

    #330507
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Just add the code below to your custom css option

    @media only screen and (max-width: 479px) {
    body .woocommerce-shop-page ul.products li.product, body .product_list_widget > div > ul.products 
       li.product {
           width: 100%!important;
       }
    }

    That should sort it.

    -Rui

    #330509
    paulbdesign83
    Member
    Post count: 8

    It still doesn’t seem to have changed. I have cleared the cache and tried in a different browser.

    I have attached a screenshot incase I have missed something?

    Attachments:
    You must be logged in to view attached files.
    #330523
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Place it in the custom css option in the Theme options-> General options to see if it works.
    They have different priorities.

    -Rui

    #330525
    paulbdesign83
    Member
    Post count: 8

    Perfect. Thanks again.

    #330528
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.

    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register