Topic: A sticky element added below nav bar - how to create

anuragd7 free asked 2 years ago


Expected behavior I’m trying to create a UI element on my home page that will open up to display some content as shown below: enter image description here

This element needs to move with the navbar and not disappear. on scrolling enter image description here

How can I create this element?

Actual behavior I have already tried the following: - doing this by modifying the navbar but then mobile views don’t work - adding a div on the home page but I cannot get it to stick on scroll.

Resources (screenshots, code snippets etc.)



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: MDB4 9.0.1
  • Device: Mac
  • Browser: Chrome
  • OS: MacoS Big Sur 11.4
  • Provided sample code: No
  • Provided link: No