Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDB tries to override most of bootstrap's css

stacey.cielia.lynn pro asked 8 years ago


In trying to use MDB in my project, it seems to have taken to almost re-defining everything that bootstrap sets up; for example, the navbar css. Is there a particular set of the scss files I can safely delete to keep just the behavior-required styles? I'm using bootstrap because its existing css fit my project - I really don't want mdb overriding all of the basic fundamentals.

Michal Szymanski staff answered 8 years ago


Hi Stacey, that was always the goal of MDB - to improve Bootstrap and change it into Material Design, in the same time to keep most useful bootstrap functionalities. However, MDB has a modular structure, so take a look at file sass/mdb.scss and remove from the list the component you don't want to use. Then compile it to new css 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: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags