Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #647600

    Hi,
    Shop view is OK. But related products view –> Sale icon is in wrong place. Screenshot’s URL is in private content.
    How can I fix it?

    Best regards,
    Eve KJ

    #647646

    Hey evekj!

    Can you please disable all of your plugins, remove any customisations done and let us know if the issue is fixed?
    I can see our demo been working properly.

    Thanks a lot

    Cheers!
    Basilis

    #647660

    In your demo is Sale button on the right bottom corner, but in my web page is Sale button on the left top corner. How can I fix this, that Sale icon would be in the right place in the related product view?

    Best regards,
    Eve KJ

    #648968

    Hi,

    Thank you for the info. Looks like you modified the sale container. Please add this in the functions.php file:

    // custom script
    add_action('wp_footer', 'ava_custom_script');
    function ava_custom_script(){
    ?>
    <script>
    (function($){
    	function h() {
    	$('#top .related .product').each(function() {
    		var onsale = $(this).find('.onsale'),
    			thumb = $(this).find('.thumbnail_container');
    
    		onsale.appendTo(thumb);
    	});
    	}
    
    	h();
    })(jQuery);
    </script>
    <?php
    }

    Add this in the Quick CSS field:

    #top .related .onsale {
        top: 0;
        left: 0;
    }

    Best regards,
    Ismael

    #650700

    Hi,
    Thank you for your answer.
    I unfortunately could not work this code. Now is in the webpage your demo code. Sale button is on the right bottom corner, but how can I set so, that Sale button as picture % would be on the left top corner?

    Best regards,
    Eve KJ

    #651684

    Hi,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    I can’t see any issues on your PDF/Screenshot. Can you highlight your intentions please?

    Best regards,
    Andy

    #653587

    I added again login data to private area.

    #653765

    Hi,

    I checked page in private content and every button seems to me in it’s correct place. Can you highlight what is wrong for you please?

    Best regards,
    Andy

    #657559

    Hi,
    Screenshot URL is in private area.

    #657612

    Hi,

    I tried to open page in question, but it’s password protected. Can you provide it to us please?

    Best regards,
    Andy

    #657639

    Hi,
    I added again login data to private area.

    #657920

    Hi,

    use this code inside of Quick CSS field:

    span.onsale {
    position: relative;
    top: -100px !important;
    }
    .inner_product_header_table h3, .inner_product_header_table .price {
    position: relative;
    top: 40px;
    }
    

    and adjust the values as needed.

    Best regards,
    Andy

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