Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #653752

    Hello,
    I’m using Enfold and I’m very happy with it, but:

    1) I want that the sale badge is in the top right of the product image. Maybe a little overlaying the border of the image.
    In the default setting, it is next to the price (grid view). How can I move it (best with CSS)?

    2) In the single product view it should be the same….. now it is at the top right of the single product page.

    3) Further it should be forced to be a circle.

    Thanks in advance.
    Jan

    #654612

    Hey Jan,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Thanks,
    Rikard

    #654650

    Hey Rikard,

    thanks for your reply!

    I post a link and and login to the website shop.
    As mentioned the sale badge should be on top of the product picture in the upper right corner. Same for the single product….
    At the single product you can see, that I started to set the sidebar (I want it on the left), but this is another thread.

    Thanks again!
    Jan

    #655968

    Hi,

    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 .product').each(function() {
    		var onsale = $(this).find('.onsale'),
    			thumb = $(this).find('.thumbnail_container');
    
    		onsale.appendTo(thumb);
    	});
    	}
    
    	h();
    })(jQuery);
    </script>
    <?php
    }

    This will move the onsale container inside the thumbnail container.

    Best regards,
    Ismael

    #656039

    Hi Ismael,

    perfect! But 3 more points remaining :-(
    Please have a look at the side…
    1) In the product overview: when the product picture changes due to mouse hover, the color of the text “Sale!” changes (to the link color)
    2) In the single product view: the sale badge is still not in the picture container…
    3) can I force the badge to be a circle?? (Replacing it with a picture would be fine and solves problem 1, but I think it is more complicated?)

    Thank you so much!
    Jan

    #656042

    Sorry, one more:

    how can I adjust the position of this “new” badge slightly?

    Thanks
    Jan

    #656064

    Hi,

    Please elaborate what you like to adjust. If possible would you mind posting us a screenshot/mockup of what you would like to achieve? You can upload the screenshot to imgur.com or dropbox and share the link here :)

    Best regards,
    Vinay

    #656409

    Hi Kriesi Team,

    the picture below shows the shop overview page.
    As you can see, the sale badge is in the right upper corner as I wanted it :-)

    1.How can I adjust the position to move it just little?

    2.The main problem is, that the “sale!” changes color when the picture has a hover effect. This is depending on the browser: in edge it goes to red, in safari it is getting bold?? Please go on the “shop” page and and check this.

    3.Last but not least: The badge should be a forced circle.To get rid of the hover effect and shape: would it be more easy to place a picture instead?

    Tanks in advance!!
    Jan

    I posted the link in the private content…

    #656829

    Hey!

    1.How can I adjust the position to move it just little?

    Use this css code:

    #top .onsale {
        margin-right: 20px;
        margin-top: 20px;
    }

    2.The main problem is, that the “sale!” changes color when the picture has a hover effect. This is depending on the browser: in edge it goes to red, in safari it is getting bold?? Please go on the “shop” page and and check this.

    I can’t reproduce the issue on my end. Could you please provide a link where we can see the issue?

    3.Last but not least: The badge should be a forced circle.

    Please use this:

    #top .onsale {
        height: 40px;
    }

    Best regards,
    Ismael

    #657729

    Hi Ismael,

    CSS works perfect! Thanks!

    I added my first Video :-) so you can probably see the hover effect issue I mean.
    I postet the link in the private content. (The video is on the right).

    Thanks!!
    Jan

    #658672

    Hi,

    I’m sorry but I can’t see the video. Could you please upload it on youtube?

    Best regards,
    Ismael

    #658708

    Hi Ismael,

    thanks for your reply! I’m wondering if you did not find the video on the Website or if it is not displayed, not working?
    Please try one again… http://joleo.de/mock-ups/ (login above).
    But anyway, I put it on YouTube

    Best regards.
    Jan

    #659652

    Hi,

    I can see the video player but it’s blank. Thanks for the youtube video. Unfortunately, I can’t reproduce the same hover effect on my end. Is this happening in the shop page (http://joleo.de/shop/)? Please try this in the Quick CSS field:

    .onsale:hover {
        color: #ffffff;
    }

    Best regards,
    Ismael

    #659685

    Hi Ismael,
    tricky with the video ??? maybe later.

    Your CSS does not work… I will change back to the default position of the sale badge. Then it is all fine again.
    One quick question before you can close this thread: where can I enable the masonry shop?
    I don’t find it :-)

    Thanks
    Jan

    #660290

    Hi,

    what do you mean with masonry shop? are you talking about a product grid? if yes then when editing a page go to “Plugin Additions” and choose Product Grid element inside of ALB.

    Best regards,
    Andy

    #660583

    Hi Andy,
    I mean: how to change from this
    http://kriesi.at/themes/enfold/shop/
    to this

    Best regards
    Jan

    #661711

    Hi,

    got everything I wanted. Thanks a lot!!

    you can close this…

    #661799

    Hi,

    Great, glad you got it working :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Sale badge position’ is closed to new replies.