Sticky menu not working on desktop but fine on mobile
-
Heya, sticky menu works, but is not copying cart and currency
See https://shop.scanimals.net/index.php/product-category/snakes-dragons/ then scroll down and you will see.
I have checked menu and I have copy for desktop and mobile, but desktop is showing a different menu.
I have checked all my headers and tried adding cart and currency to all but still there is no change.
what am I doing wrong?
I tried chatgpt, but the recommendation didnt work, this was the recommendation
/* Make cart and currency switcher sticky */
.whb-sticky-header .fkcart-mini-toggler,
.whb-sticky-header .woocommerce-currency-switcher-form {
position: sticky;
top: 0; /* Adjust top value if needed */
z-index: 1000; /* Ensure they appear above other elements */
display: inline-block !important; /* Ensure they are visible */
opacity: 1 !important; /* Ensure full visibility */
visibility: visible !important;
}
Hello,
Please follow this guide and make the header sticky:
https://xtemos.com/docs-topic/how-to-enable-sticky-header-option/
Best Regards
Sounds Great! that your issue has been solved.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘Sticky menu not working on desktop but fine on mobile’ is closed to new replies.