There is an element called “Bottom bar”, it is a sticky:
so far so good. When we go to any product page, another sticky element appears as soon as we scroll down a bit. This element is called “Sticky Add to Cart” and it overrides the “Bottom bar” element:
I want the “Bottom bar” to leave the page with the command “translateY()” as soon as the “Sticky Add to Cart” appears. And go back to the starting point when “Sticky Add to Cart” comes out.
The command in this case will be done only for the “Bottom bar”.
Sorry for the English, I’m using google translator
And I’m a complete beginner.

