I want to override below Page builder Carousel phtml file in my custom theme. Please provide magento standard way for this.


I have already placed this file in custom theme but it's not working.

FYI, After executing the grep command for the above file & found the below reference core files but could not get the exact idea of how to override the above carousel.phtml file.

grep -r 'carousel.phtml' vendor/
vendor/magento/module-page-builder/view/adminhtml/web/ts/js/content-type/products/mass-converter/carousel-widget-directive.ts:            template: "Magento_PageBuilder::catalog/product/widget/content/carousel.phtml",
vendor/magento/module-page-builder/view/adminhtml/web/js/content-type/products/mass-converter/carousel-widget-directive.js:        template: "Magento_PageBuilder::catalog/product/widget/content/carousel.phtml",

1 Answer 1


You have to create a Custom Module and then you can override this carousel.phtml file.


You just create a registration.php file, a etc/module.xml file. And then create your view/ folder and with same path override this phtml file.


run all commands.

  • Thanks for your answer, In my case, I forgot to apply my custom theme on the admin side. It's working fine now with my custom theme. I hope this comment helps others. Jul 30, 2022 at 13:59

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.