Sign in


Sign up


How to get bootstrap 4 input fields?

MDB SupportCategory: MDB jQueryHow to get bootstrap 4 input fields?
Singh Pro User asked 4 weeks ago in MDB pro, version:4

Hi there,

I purchased the Big Bundle today. I looked at the new style of inputs that you provide. I just wanted to know how can we get the traditional bootstrap input fields (boxed), that are in the bootstrap 4 website.

Please let me know.

Thanks,

Jaspreet


3 Answers
Marta Szymanska answered 3 weeks ago

Hi,

within MDB we use material inputs and if you don’t want this style for inputs you can copy the code for inputs directly from https://getbootstrap.com/docs/4.0/components/forms/ and within mdb.scss file in your package just comment this part: @import "mdb/free/forms-basic"; and then all MDB styles for inputs disappear and bootstrap styles stay.

Best,

Marta

Singh Pro User answered 3 weeks ago

Hi Marta,

Thanks a lot for replying. I am not sure if I understand this clearly. I am currently using mdb.min.css from MDB Procss folder. I am not using mdb.scss in my project. Is there any example that I can use or can you explain bit further?

Thanks,

Jaspreet

Marta Szymanska answered 3 weeks ago

Hi,

inside MDB Big Bundle package you have a few packages, like MDB Pro or all out templates packs and each package has SASS files. Give me more specific information about your project and what is the exact MDB package you use, then I’ll try to help you.

Best,

Marta

Marta Szymanska replied 1 week ago

OK, fine.

Singh Pro User replied 2 weeks ago

Marta,

Thanks a lot, I am currently in the process of setting up the project and will definitely get back to you when I need help in this regard.

Thanks,

Jaspreet