fix add to cart

  • Posts: 9
  • Thank you received: 0
7 years 8 months ago #277001

-- 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

Please Log in or Create an account to join the conversation.

  • Posts: 83798
  • Thank you received: 13570
  • MODERATOR
7 years 8 months ago #277006

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 :)

The following user(s) said Thank You: RobertB

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum