0

I want to remove control css class and add custom css class.

enter image description here

Thanks advance!!

2
  • Why not just use CSS to override the current styles?
    – jiheison
    Oct 10, 2021 at 20:23
  • Because I need to design and re-structure checkout page. Oct 15, 2021 at 12:13

1 Answer 1

2

if you want to change or add class in fields then you have to copy the file
vendor\magento\module-ui\view\frontend\web\templates\form\field.html

and move in your theme

app\design\frontend\<vendor>\<theme>\Magento_Ui\web\templates\form\field.html

enter image description here

after the changes are done then you have to deploy content from the command line.

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush

1
  • When I change in this files it's affected to overall website. I just need this changes only on checkout page. Oct 15, 2021 at 12:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.