- Posts: 9
- Thank you received: 0
fix add to cart
9 years 2 months ago #277001
by RobertB
fix add to cart was created by RobertB
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.021
Hello,
I am trying to "fix" the add to cart (plus the price, quantity input and wishlist)) to the bottom of the screen.
That way during scroling it will stay there.. until the footer..
Once it reaches the footer, it is no longer in fixed position but absolute.
Any idea how I can do that?
Robert
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.021
Hello,
I am trying to "fix" the add to cart (plus the price, quantity input and wishlist)) to the bottom of the screen.
That way during scroling it will stay there.. until the footer..
Once it reaches the footer, it is no longer in fixed position but absolute.
Any idea how I can do that?
Robert
Please Log in or Create an account to join the conversation.
9 years 2 months ago #277006
by nicolas
Replied by nicolas on topic fix add to cart
Hi,
You can do that with CSS and/or JS based on the specific needs:
stackoverflow.com/questions/17918614/how...-move-when-scrolling
stackoverflow.com/questions/33140417/how...tion-while-scrolling
stackoverflow.com/questions/16214796/nee...g-stay-20px-from-top
stackoverflow.com/questions/23788262/fix...while-page-scrolling
It's the same principle whether the div contains a wishlist, a price or a quantity input or anything else
You can do that with CSS and/or JS based on the specific needs:
stackoverflow.com/questions/17918614/how...-move-when-scrolling
stackoverflow.com/questions/33140417/how...tion-while-scrolling
stackoverflow.com/questions/16214796/nee...g-stay-20px-from-top
stackoverflow.com/questions/23788262/fix...while-page-scrolling
It's the same principle whether the div contains a wishlist, a price or a quantity input or anything else
The following user(s) said Thank You: RobertB
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds