• Resolved Zu Foos

    (@zu-foos)


    My “add to cart” button appears too far the right on product pages- it overlaps with the product category menu.

    Also, the shopping bag icon is misplaced.

    Also, on product pages, under the “related products” section, products that are on sale show an incorrectly rendered sale badge.

    Check this page for an example:
    https://zufoos.com/product/do-solar-plexus-candle/

Viewing 4 replies - 1 through 4 (of 4 total)
  • hai Zu Foos

    try this on your css

    for changing Add card:

    .woocommerce .cart .button {
    bottom: 0px;
    left: 0;
    }
    input.button.alt {
    margin-left: 0;
    }
    for changing scale:

    .single.woocommerce span.onsale {
    background:none;
    }
    .woocommerce ul.products li.product .onsale {
    margin: -.5em -1.5em 0 0;
    }

    Thread Starter Zu Foos

    (@zu-foos)

    Thank you for your advice! I had fiddled with some of this code previously, but not all of it.

    After adding it, the button placement is significantly better. The “add to cart” button looks good, but the shopping bag icon is still a little off.

    The sale “tab” that appears on products in the “related products” section is still broken. It appears like there is an opaque square that is surrounding the tab.

    https://zufoos.com/product/do-solar-plexus-candle/

    Theme Author 8Degree Themes

    (@8degreethemes)

    Hi There,

    Add this code for the related blocks sale icon:

    .single.woocommerce .related span.onsale {
       background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
       margin: 0 -3px 0 0 !important;
       padding: 0;
    }

    Thanks!

    Thread Starter Zu Foos

    (@zu-foos)

    Thank you! That fixed the issue with the sale icons.

    Thanks to all the custom css in this thread, my site seems to be back to normal.

    Thanks everyone!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Button position and sale icons’ is closed to new replies.