Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » How I can make Magento 2 product-info-main sticky like cart sidebar when scroll to down?
Blog

How I can make Magento 2 product-info-main sticky like cart sidebar when scroll to down?

by Rubin|Published December 13, 2025

I want to make an upper bar as in https://www.atma.com.ar/molinillo-electrico-atma-mc8141n.html that contains the product info and the “add-to-cart” button, and that appears only when I scroll under the add-to-cart button and remains fixed under the header during the scroll.

Help me please.

  • Magento
  • Magento1
  • Magento2

You may also like

In vCenter 8, how to view all VM’s with snapshots?
Published October 18, 2025

In vCenter 8, how to view all VM’s with snapshots?

I’m on modern vCenter 8. I’ve found answers for older versions of vCenter or vSphere but not for 8. We have hundreds […]

Changed color settings of ble.sh bash terminal are not applied
Published March 29, 2024

Changed color settings of ble.sh bash terminal are not applied

I installed the ble.sh from this git repository https://github.com/akinomyoga/ble.sh.git, but i want to customize the color settings with ble-face commands. What happens […]

Infosys Interview Experience for Specialist Programmer 2023 (Off-Campus)
Published August 4, 2022

Infosys Interview Experience for Specialist Programmer 2023 (Off-Campus)

Infosys divides the whole process into three rounds:- Certification round Advantage round Interview round Round 1 (Certification Round): This was a combined […]

Magento 2: Blocks missing identities
Published May 30, 2023

Magento 2: Blocks missing identities

When working with Full Page Cache and Varnish, the blocks are suppose to pass an array on the function afterGetOutput, by using […]

Interesting

  • how to check if a computer has a spyware chip
  • Why does Windows 11 fail to upgrade from 25H2 to 26H2 with error 0x80246019?
  • Thunderbird opens URL twice
  • How to install a native ARM64 C compiler on Windows 11 (Snapdragon X)?
  • Windows 11 25H2: no se puede volver a habilitar VirtualMachinePlatform; WSL2 perdió su adaptador de red
  • How to fix a case where an Intel B580 won’t output BIOS but only prints the Windows Login Screen?
  • Asus TUF F15 Gaming [closed]
  • VirtualBox 7.2.8 on Windows: no USB devices listed in the guest, and the VBoxUSBMon service does not exist (error 1060)

Post navigation

  • Previous post Change “Choose your background color” palette in Windows 11
  • Back to post list
  • Next post Should pub/media directories be included in the gitignore?
——————-
  • how to check if a computer has a spyware chip
  • Why does Windows 11 fail to upgrade from 25H2 to 26H2 with error 0x80246019?
  • Thunderbird opens URL twice
  • How to install a native ARM64 C compiler on Windows 11 (Snapdragon X)?
  • Windows 11 25H2: no se puede volver a habilitar VirtualMachinePlatform; WSL2 perdió su adaptador de red
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme