Add custom class to inputs

  • Russell Leigh
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 2 months ago #138291 by Russell Leigh
Add custom class to inputs was created by Russell Leigh
How can we add custom classes to the Sort By and Items Per Page drop downs?

I want to add the bootstrap 4 classes "form-control" to the select inputs and also the select input of product options

This is very hard to integrate in to a bootstrap 4 template...

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
4 years 1 month ago #138907 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add custom class to inputs
Hello Russell,

EShop has the option to allow you to turn the bootstrap 4 if your site is using bootstrap 4 template.

Please go to the back-end of your site, then go to EShop -> System -> Configuration -> Layout tab, at "Twitter Bootstrap Version", choose Twitter Bootstrap version 4, then Save the configuration and test again.

I hope this is useful.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

  • Russell Leigh
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago #138913 by Russell Leigh
Replied by Russell Leigh on topic Add custom class to inputs
This is not what I asked and is not useful and it's taken you literally weeks to reply. I have nothing but stress with all the joomdonation plugins.

The proper bootstrap 4 classes for an input is "form-control" these classes are not added even when it is set to Bootstrap 4 in the config

I want to be able to add these classes or any custom class to all inputs

Please read the bootstrap docs and correct your code accordingly

getbootstrap.com/docs/4.0/components/forms/#form-controls

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
4 years 1 month ago #138918 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Add custom class to inputs
OK Russell!

I see that. I will check and update this soon.

Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong