Topic: Pro template not working
Hi,
Recently I got the 7 pro templates that come with pro version. I have already adapted some templates in the past as it is explained in MDB turorial (https://mdbootstrap.com/education/bootstrap/). However, when I try to use a pro template I include all the css/js scripts needed but I dont get the expected output. See figures below:
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
Thank you in advance.
alexq answered 5 years ago
Hi,
I have MDB PRO (jQuery version [standard Bootstrap]) , I'm trying to get the same as MDB-saas-Templates-Pack\html\features.html, so I'm including the following css scripts:
code here<link href="../css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="../css/mdb.min.css" rel="stylesheet"
Below are the errors I'm getting in the console:
Grzegorz Bujański staff commented 5 years ago
if I understand correctly are you trying to add one of the pages built in sass templates to the pro package? It is not so simple. Saas Template uses MDB 4.8.11 + its own styles and some of the styles in MDB have changed since then. If you simply replace the mdb.min.css file with the sass template you will lose the latest style changes. If you import both, conflicts may occur.
You can remove the wow error by initializing wow in the document ready function.
alexq commented 5 years ago
Yes, I want to build sass template, it doesn't have to be with pro package. I replaced mdb.min.css with the sass templates but I dont get the same (as you can see in the figures above).
In addition, I'm using plugins for picker-date and mdb-file-upload, could this affect the template appearance?
Grzegorz Bujański staff commented 5 years ago
Yes. note that the sccs files look similar, but if you look closely, some of them are modified. When you try to connect them together, styles may overwrite.
alexq commented 5 years ago
I dont understand why templates are given if they are not compatible with current package.
Grzegorz Bujański staff commented 5 years ago
Templates are independent products from MDB Pro. It is a product that helps you create a specific website. And as an independent product has its own styles
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.18.0
- Device: Desktop
- Browser: Firefox
- OS: W10
- Provided sample code: No
- Provided link: Yes
Grzegorz Bujański staff commented 5 years ago
Hi. I need more info. Which plugin you use? Do you have any errors in the console? Can you share a code that doesn't work as you expect?