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: Pro template not working

alexq free asked 4 years ago


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

enter image description here

Actual behavior

enter image description here

Resources (screenshots, code snippets etc.)

Thank you in advance.


Grzegorz Bujański staff commented 4 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?


alexq free answered 4 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:

enter image description here


Grzegorz Bujański staff commented 4 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 free commented 4 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 4 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 free commented 4 years ago

I dont understand why templates are given if they are not compatible with current package.


Grzegorz Bujański staff commented 4 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



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 jQuery
  • MDB Version: 4.18.0
  • Device: Desktop
  • Browser: Firefox
  • OS: W10
  • Provided sample code: No
  • Provided link: Yes