Skip to content

Override vendor admin view.xml file Magento2

so i need to override this file vendor/magento/module-page-builder/etc/view.xml

i already tried doing it by copying it here:

app/design/frontend/My_Vendor/My_Theme/etc/view.xml

and it works! but only on the frontend.

i need the changes i made to reflect in admin as well, so i tried creating some folders with the same file here:

app/design/adminhtml/My_Vendor/My_Theme/etc/view.xml

and then added the same registration.php and theme.xml files i found inside app/design/frontend/My_Vendor/My_Theme but it’s not working.

what am i doing wrong?