Tagged: button, scroll, shopping cart button, static, woo commerce
hello,
bodytalkminneapolis.com
I notice when I scroll down the shopping cart button moves out of view
Can I please have support with a CSS code that will make that shopping cart button stationary, just like how the ShiftNav hamburger menu icon stays stationary on the left side of the page?
Thank you
Hey Nathan,
Please, may you share with me your website link that this problem is occurring?
Best regards,
John Torvik
the link is above
bodytalkminneapolis.com
Hi,
Thanks for the info.
To fix your problem, just add this Quick CSS code:
.html_bottom_nav_header .cart_dropdown {
z-index:10000;
margin: -20px 0 0 0;
Best regards,
John Torvik
Hey John
I’ve entered the code and the button is still disappearing a little bit when you scroll down the page
Hi!
Try increase the number
.html_bottom_nav_header .cart_dropdown {
z-index:10000;
margin: -50px 0 0 0;
Cheers!
Basilis
Thank you for the new code.
The button still moves when you scroll down
Hi,
I am sorry, but the code isn`t closing the “{“. Try to replace the code by this:
.html_bottom_nav_header .cart_dropdown {
z-index:10000;
margin: -50px 0 0 0;
}
You can adjust the position increasing or decreasing the negative margin.
Best regards,
John Torvik
I feel satisfied reading this
Thank you for the support.