Home Forums WoodMart support forum adding custom animation to variation select (drop-down)

adding custom animation to variation select (drop-down)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #233564

    iwanwilaga
    Participant

    Dear Support,
    Months before i added a custom css animation to the drop-down select fields (located in the table.variations) in single product pages.
    It worked well, up until recent weeks. It broke and now i see that every time i press the ‘Cart ‘button, there is a style attribute added to these fields with animation: 0s, ..etc properties. Which is not the same what i send to them by jQuery via this code:

    $('select#pa_kilincstengely-kulcsluktvol').css({
    						'animation-duration' : '1s',
    						'animation-name' : 'variacioelszinezodik',
    						'animation-iteration-count' : 'infinite',
    						'animation-direction' : 'alternate'
    					});
    

    Do you have any idea what causes this?

    Thank you!
    Wiktor

    #233684

    Artem Temos
    Keymaster

    Hello,

    Sorry, but we don’t know how this code is supposed to work. Such additional code customizations are out of our theme support scope.

    Kind Regards

Viewing 2 posts - 1 through 2 (of 2 total)