Topic: Components using default styles instead of MDB

jpcantalino pro asked 7 years ago

Some of the components, including the Switch input and Radio buttons, refuse to appear the way they do in the examples. I managed to get the switch to work by finding the CSS in the bootstrap and mdb.css files and pasting it into my styles.css with a few alterations. As for the radio buttons, I cannot find the correct block to paste and thus, they do not work. This is what the problem looks like: This is the code for the element:
<form class="form-inline">

            <fieldset class="form-group">
                <input name="group1" type="radio" id="radio1" checked="checked">
                <label for="radio1">Option 1</label>

            <fieldset class="form-group">
                <input name="group1" type="radio" id="radio2">
                <label for="radio2">Option 2</label>

            <fieldset class="form-group">
                <input name="group1" type="radio" id="radio3">
                <label for="radio3">Option 3</label>

There is no CSS present in my styles for this element, since I thought it would be using the rules from bootstrap.css or mdb.css.

If you want to migrate from MDB Free to Pro just replace your css and js files

jpcantalino pro answered 7 years ago

I moved over my html documents to the pro library. Later when I'm ready to deploy, I'll need to move it back to the previous folder using only the modules written into the site. I'm a bit new to HTML so how do you ensure that certain modules are included?

If you want to use premium components you need to include pro version in your html document. Did you include files from pro version?

jpcantalino pro answered 7 years ago

It's 4.1.1 Pro. I payed the $49. Do I need to build my site in the library I downloaded?

Switch and radio buttons are a premium components. Premium components are available only in MDB Pro version. What is your version of MDB?

Please insert min. 20 characters.


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


Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No