• Resolved osositno

    (@osositno)


    Hi

    The option for the button to be over product image, that means in the middle of the actual image of the product, right? For us it’s showing below all the product images. I would like it to be in the middle.

    Is that possibel?
    Any tips on how to make that happen?
    Hope you can help

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter osositno

    (@osositno)

    Forget it. Found it within chatgpt:
    Added this within the Extra CSS withing the template:

    /* Center the button in the middle of the product image / .addonify-qvm-button, .addonify-qvm-button.addonify-qv-shortcode-button, .wc-block-grid__products .product .button.addonify-qvm-button, .wc-block-grid__products .wc-block-grid__product .button.addonify-qvm-button, .woocommerce ul.products .product .button.addonify-qvm-button, .woocommerce ul.products .wc-block-grid__product .button.addonify-qvm-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; / Ensures the button appears above other elements / background: rgba(255, 255, 255, 0); / Makes the background transparent / border: none; / Removes borders / color: inherit; / Keeps the text color consistent with the theme / transition: all 0.3s ease; / Smooth transition for hover effects */
    }

    /* Ensure the product image container is positioned relative to the button */
    .product-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    /* Keep the button transparent on hover / .addonify-qvm-button:hover, .addonify-qvm-button.addonify-qv-shortcode-button:hover, .wc-block-grid__products .product .button.addonify-qvm-button:hover, .wc-block-grid__products .wc-block-grid__product .button.addonify-qvm-button:hover, .woocommerce ul.products .product .button.addonify-qvm-button:hover, .woocommerce ul.products .wc-block-grid__product .button.addonify-qvm-button:hover { background: rgba(255, 255, 255, 0); / Transparent background on hover / border: none; / No border on hover / color: inherit; / Keep the text color as it is */
    }

    /* Adjust the icon size to 40px x 40px / .addonify-qvm-button .icon svg, .addonify-qvm-button.addonify-qv-shortcode-button .icon svg, .wc-block-grid__products .product .button.addonify-qvm-button .icon svg, .wc-block-grid__products .wc-block-grid__product .button.addonify-qvm-button .icon svg, .woocommerce ul.products .product .button.addonify-qvm-button .icon svg, .woocommerce ul.products .wc-block-grid__product .button.addonify-qvm-button .icon svg { align-items: center; display: inline-flex; height: 40px; / Set height to 40px / line-height: 1; / Ensures proper line height / width: 40px; / Set width to 40px */
    }

    • This reply was modified 2 months ago by osositno.
    • This reply was modified 2 months ago by osositno.
    Plugin Author Addonify

    (@addonify)

    Hi @osositno

    We are happy that you have found the solution.

    If you need further assistance or have any question, let us know.

    For now we are closing this topic.

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.