2 Products Side by Side (Mobile) - by michaelcp23

This topic has 6 replies, 4 voices, and was last updated 8 years, 10 months ago ago by Stan Russell

  • Avatar: michaelcp23
    michaelcp23
    Participant
    February 6, 2016 at 06:01

    So I am trying to put two products side by side on the mobile Product Page Layout, but I want the Single Product Page to be full screen.

    I was using the following code, and it works for the Product Page Layout, however for the Single Product Page, it is compressed to only 50% of the screen. I’m guessing I have the code incorrect, could you guys help me out a bit?

    @media only screen and (max-width: 480px){
    .products-grid .product {
    width: 50% !important;
    }}
    
    @media only screen and (max-width: 480px){
    .product {
      width: 50% !important;
    }}
    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 6, 2016 at 08:31

    Hello,

    Your site is in maintenance mode.
    Please provide us with wp-admin access in Private Content.

    Regards,
    Robert Hall.

    Avatar: michaelcp23
    michaelcp23
    Participant
    February 8, 2016 at 20:32

    Only the homepage is in maintenance mode, the rest of the site is accessible. See aventon.com/shop

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 9, 2016 at 11:18

    Hello,

    I’ve commented the code in your custom.css file:

    @media only screen and (max-width: 480px){
    .product {
      width: 50% !important;
    }}

    Please check the site on mobile now.

    Best regards,
    Jack Richardson.

    Avatar: michaelcp23
    michaelcp23
    Participant
    February 9, 2016 at 22:24

    Thank you it now works perfectly, I appreciate your help!

    Michael

    Avatar: stan
    Stan Russell
    Participant
    February 10, 2016 at 08:07

    Hello michaelcp23,

    you are welcome!

    Regards,
    Stan Russell.

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

The issue related to '‘2 Products Side by Side (Mobile)’' has been successfully resolved, and the topic is now closed for further responses

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