Topic: mdb.css is different for MDBoostrap jQuery Pro and Admin Dashboard jQuery Pro

mindtrigger pro asked 5 years ago


Hello, This week I purchased both your MDBoostrap jQuery Pro and Admin Dashboard jQuery Pro.  I setup MDboostrap first and got it working using the CSS/JS files provided.  Then when I tried to use Admin Dashboard, I found that there are some things missing in the CSS files provided with MDBoostrap. I was unable to get the cards to work on the profile-1 page until I swapped the mdb.css file out with the one provided with admin dash.  Specifically there were css entries missing for user-card class.  I do not know if other things are missing.
.user-card .admin-up .data span {
 font-size15px;
}
Shouldn't these be the same mdb.css (mdb.lite.css, etc.) files?  Am I not supposed to use MDBoostrap with Admin Dashboard? Thank you in advance!

Piotr Glejzer staff answered 5 years ago


Hi, _cards.scss has the same code like _cards-basic.scss. We will fix that misunderstanding with files in next release (in closest Monday ). We are very sorry about that. Code from Admin Dashboard PRO should work in MDB PRO but Admin PRO has own styles included in scss/admin/_style.scss. If you want to use the Admin Dashboard with MDB PRO you can copy HTML folder from admin package to pro package and copy 'admin' folder from scss folder in admin package to mdb pro scss folder. Next step you have to use gulp and include code (showed below) to your mdb.scss file in PRO package:
@import "admin/style"; If you compile correctly everything will work fine.
Have a nice day.
Piotr

Piotr Glejzer staff answered 5 years ago


Hi, Admin PRO template is not that the same like a full version of MDB PRO. Admin template has many files from MDB Pro but not all. You can use the Admin Dashboard with MDB Pro. Best, Piotr

mindtrigger pro commented 5 years ago

Thank you, but this didn't answer my question.  The mdb.css file that comes with MDB Pro is missing the user-card class.  Should I use both mdb.css files from MDB Pro and Admin Pro in my project?  The confusion is that they are named exactly the same and that I would have though the MDB Pro css/js had everything in it for Admin Pro as well.



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: MDB jQuery
  • MDB Version: 4.5.10
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No