Reply 333077 to: only show buy now button on mobile. css error

Avatar: Recep
Recep
Participant
September 2, 2022 at 13:38

Hi,

I have this code in style css. https://snipboard.io/ixOrGT.jpg

@media only screen and (max-width: 767px) {
.etheme-sticky-cart .add_to_cart_button, .etheme-sticky-cart .et-or-wrapper {
display: none;
}
}

I have this code in function.php. https://snipboard.io/ayD8T2.jpg

add_filter(‘etheme_sticky_add_to_cart_buy_now_hide_mobile’, ‘__return_false’);

and this is the result. https://snipboard.io/PNk6KX.jpg

but this is what i expect. https://snipboard.io/m6RpwD.jpg

just the “buy now” button.

Regards.

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.