Sticky add to cart nor working in mobile

Hi,

The mobile sticky add to cart is not working. The page i need help with is

https://laviere.in/products/hydra-splash

Hey there @laviere give this code a try and let’s see if it works.

{% if template == ‘index’ %}

#shopify-section-header .header-wrapper .header__heading-link img { opacity: 0; } #shopify-section-header .header-wrapper .header__heading-link { background-image: url('[https://community.shopify.com/c/image/serverpage/image-id/394111iF0BEC08C37A7BF4C/image-size/medium?v=v2&px=400](https://community.shopify.com/c/image/serverpage/image-id/394111iF0BEC08C37A7BF4C/image-size/medium?v=v2&px=400)'); background-position: center; background-size: contain; background-repeat: no-repeat; } #shopify-section-header.shopify-section-header-sticky .header-wrapper .header__heading-link img { opacity: 1; } #shopify-section-header.shopify-section-header-sticky .header-wrapper .header__heading-link { background-image: unset; } #shopify-section-header .header-wrapper { background: transparent; } #shopify-section-header .header-wrapper .header__icon .icon { color: #fff; } @media (min-width: 768px) { #shopify-section-header .header-wrapper .list-menu__item span { color: #fff; } #shopify-section-header.shopify-section-header-sticky .header-wrapper .list-menu__item { color: #181818; } } #MainContent { margin-top: -90px; } @media (max-width: 767px) { #MainContent { margin-top: -67px !important; } } #shopify-section-header.shopify-section-header-sticky .header-wrapper { background: #fff; } #shopify-section-header.shopify-section-header-sticky .header__icon .icon { color: #181818; }

{% endif %}

where should i post this code?

You are sharing me code for sticky header but i have asked for sticky mobile add to cart not working