Product Shop Page Layout displays products randomly

This topic has 4 replies, 3 voices, and was last updated 2 months, 4 weeks ago ago by Luca Rossi

  • Avatar: Safe Desires
    Safe Desires
    Participant
    September 8, 2025 at 19:31

    Please see screenshots

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    September 8, 2025 at 19:53

    Hello,

    Thank you for reaching out to us.

    Fixed. Please clear cache and check now.

    Warm Regards,
    The 8Theme Team

    Avatar: Safe Desires
    Safe Desires
    Participant
    September 8, 2025 at 21:31

    i used this CSS to fix it temporarily, but I am hoping it can be fixed with a settings correction:

    /* Safe Desires — fix mobile shop grid offset and force clean columns */

    /* 1) Force products list to be a clean CSS grid */
    .archive .woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)); /* mobile */
    gap: 16px;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important; /* kill leftover isotope transforms */
    }

    /* 2) Remove legacy widths/floats/absolute positioning from product items */
    .archive .woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    clear: none !important;
    position: static !important;
    margin: 0 !important;
    }

    /* 3) Bump columns up on larger screens */
    @media (min-width: 769px){
    .archive .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
    }
    @media (min-width: 1025px){
    .archive .woocommerce ul.products { grid-template-columns: repeat(4, 1fr); }
    }

    /* 4) Keep titles to two lines so rows stay even */
    .archive .woocommerce ul.products li.product .product-title,
    .archive .woocommerce ul.products li.product .product_title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    }

    /* 5) Make sure the closed filter sidebar doesn’t push content */
    body:not(.filters-open) .shop-filters,
    body:not(.et-filters-open) .shop-filters,
    body:not(.offcanvas-open) .shop-filters {
    position: fixed; left: -9999px; width: 0; height: 0; /* hide when closed */
    }

    Avatar: Justin
    Luca Rossi
    Support staff
    September 9, 2025 at 09:13

    Dear @Safe Desires,

    We hope this message finds you well.

    We would like to inform you that the custom CSS code currently in use does not appear to be related to your existing archive product pages.

    At your convenience, could you please try removing the custom CSS and check the results again?

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

  • 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.