I want to hide one element when another one appears (IN CSS IF POSSIBLE) =)

PaulCur
Tourist
3 0 3

There is an element called "Bottom bar", it is a sticky:

1.png

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:

2.png

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.

Replies 5 (5)
KetanKumar
Shopify Partner
24924 2498 9041

@PaulCur 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
PaulCur
Tourist
3 0 3

URL site:

olivvain.com

Please put in mobile view to activate the "Bottom bar"

KetanKumar
Shopify Partner
24924 2498 9041

@PaulCur 

thanks for URL

i have check but o can't see now at bottom 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
PaulCur
Tourist
3 0 3

Oh yes! I'm working on the site every day... but now it's there, just go in and see

KetanKumar
Shopify Partner
24924 2498 9041

@PaulCur 

yes i have check different system but doesn't see i don't why 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing