• Resolved boppar

    (@boppar)


    I made an update of one plugin, Woocommerce, and it messed up my homepage. In the section “Populärt just nu” the discounted products used to have a small “Kampanj” badge. After the update all the badges became very wide covering all the image.

    It used to look like this:
    https://ibb.co/Vw6Jj7J

    Now it looks like this:
    https://ibb.co/G0kpwBC

    The update made the homepage look really bad. How can this be solved?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @boppar,

    Thank you for reaching us.

    I can see the issue that you’ve stated on your website. I looked into the applied CSS and noticed the CSS files were being delivered through the LiteSpeed cache. Would it be possible for you to disable the cache and check if the blocks load properly as they should?

    Let us know if this helps.

    Thread Starter boppar

    (@boppar)

    @kaderibrahim Disabling cache didn’t help.

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @boppar,

    Thank you for getting back. I investigated your website and noticed you’ve added custom CSS for the onsale badge. This custom CSS is causing the sale badge to appear wide. Specifically, the below code:

    .wc-block-grid.wp-block-handpicked-products.wc-block-handpicked-products ul li .wc-block-grid__product-onsale {
        left: 15px;
    }

    If set left:auto, this issue would resolve.

    Hope this helps. Let us know if you need further help.

    Thread Starter boppar

    (@boppar)

    Hello @kaderibrahim

    Your code helped a bit but didn’t solve the problem.
    Now it looks like:
    https://ibb.co/Lt22dMr

    The badge is supposed to be on the left side, not the right side. Like it was before:
    https://imgbb.com/Vw6Jj7J

    Can this be solved?

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Hello @boppar,

    Thank you for getting back. In that case, the CSS code should read like this:

    .wc-block-grid.wp-block-handpicked-products.wc-block-handpicked-products ul li .wc-block-grid__product-onsale {
        left: 15px;
        right: auto;
    }

    Hope this helps.

    Thread Starter boppar

    (@boppar)

    Hi @kaderibrahim

    That worked like a charm. Thanks a lot!

    Plugin Support Kader Ibrahim S. a11n

    (@kaderibrahim)

    Glad it worked. Please do not hesitate to reach us if you have any other questions about our plugin. We are happy to help.

    If you are happy with our plugin and support, please let others know by rating our plugin.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Latest Woocommerce update messed up my site!’ is closed to new replies.