• murilo777

    (@murilo777)



    We are unable to position the badge in the top left corner above the product image on the archive screen. It is positioned above the product image. In the other configuration it is positioned right in the middle.


    Position on archive page: On image – > It is positioned in the middle
    Position on archive page: Above image – > It is positioned above the image

    On the badge configuration screen:

    Position on image? Top Left?? ?? ?? ?? ?? ?? ?? ?? ?? ?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter murilo777

    (@murilo777)

    We also need to reduce the size of the badge on the desktop and mobile versions. Separately

    i have the same problem, position on image not working right

    • This reply was modified 9 months, 1 week ago by doghi.

    yeap, its a conflict with flatsome theme, bottom position is working, but top left or right, or middle, not working cause a html error. wpcbm-wrapper div is outside the product box image div and placing the badge after image, not on image.

    doghi

    (@doghi)

    i manage to solve this by changing in wpc-badge-management.php

    // archive page    
    add_action( 'woocommerce_before_shop_loop_item_title', [
                        $this,
                        'render_archive_image_start'
                    ], - 1 );
                    add_action( 'woocommerce_before_shop_loop_item_title', [
                        $this,
                        'render_archive_image_end'
                    ], 9999 );

    with

    
    	// archive page
    			add_action( 'woocommerce_before_shop_loop_item', [ $this, 'render_archive_image_start' ], 10 );
    add_action( 'woocommerce_before_shop_loop_item', [ $this, 'render_archive_image_end' ], 20 );

    doghi

    (@doghi)

    @update, now top image badge is working, but bottom one is broken. Can we get some support on this ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Position on archive page’ is closed to new replies.