• Resolved pl.xrisa

    (@xrisa30)


    Hi,

    I try to insert the wishlist shortcode in the woo category archives, between product title and price.

    I wrote:
    function wishlist() {
    echo do_shortcode(‘[ti_wishlists_addtowishlist]’);
    }
    add_action( ‘ocean_before_archive_product_inner’, ‘wishlist’, );

    and I tried these too:
    ocean_after_archive_product_title
    ocean_after_archive_product_inner etc…

    and I tried different priorities too, but everytime the heart icon displays in front of the image, right and top.

    Why is this happening and how to solve it?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, it is CSS code, can you show me your site url where you want to do this?

    Thread Starter pl.xrisa

    (@xrisa30)

    Hi, thank you very much but the site is localhost.
    However, I know how to fix it with css.

    I just wondering why the functions codes above, don’t respect my choise for the position and displays the wishlist icon at the top everytime.

    So, the only way to solve it is via css?

    Theme Author oceanwp

    (@oceanwp)

    Hi, yes because the heart icon is in absolute position, if you add it in relative, that should fix the issue.

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

The topic ‘Whishlist shortcode problem’ is closed to new replies.