padmasri koyyalamudi free asked 4 years ago


expected behaviour: using Full Page Intro with fixed, transparent Navbar snippet, but when scrolling down the navbar css is not changing to blue colour, It is same as background image. Actual behavior : as we scroll down navbars colour should change to blue.(screenshots, code


Grzegorz Bujański staff answered 4 years ago


Hi. try the same example without adding:

.top-nav-collapse {
    background-color: # 4285F4;
}

Carlos Suazo López free commented 3 years ago

Hi, here the same problem. I try the @Grzegorz Bujański solution and other things, but the problem persist.


Arkadiusz Idzikowski staff commented 3 years ago

@Carlos Suazo López I just checked the code from this example and it works correctly without any modifications: https://mdbootstrap.com/docs/angular/navigation/compositions/#i-f-t-n

Please make sure to copy both HTML and SCSS code to your application (paste the SCSS styles to the styles.scss file).



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 10.0.0
  • Device: visual studio
  • Browser: chrome
  • OS: 8
  • Provided sample code: No
  • Provided link: No