Hello,
I have a problem with the My Account pages. Alle the pages from the My account menu are shown below the menu, the are in the main column but the page title and following text is shown under the left menu in the main column.
I have been seraching the xml files but cannot find where there is something wrong.
Anyone having a hint for me where to search?
Thank You
Hi @speerio
XML file path for my account page is as below:
vendor/magento/module-customer/view/frontend/layout/customer_account_index.xml
xml code withing file
<?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <update handle="customer_account"/> <body> <referenceBlock name="page.main.title"> <action method="setPageTitle"> <argument translate="true" name="title" xsi:type="string">My Account</argument> </action> </referenceBlock> <referenceContainer name="content"> <block class="Magento\Customer\Block\Account\Dashboard\Info" name="customer_account_dashboard_info" as="info" template="Magento_Customer::account/dashboard/info.phtml" cacheable="false"/> <block class="Magento\Customer\Block\Account\Dashboard\Address" name="customer_account_dashboard_address" as="address" template="Magento_Customer::account/dashboard/address.phtml" cacheable="false"/> </referenceContainer> </body> </page>
It will help to edit your content within my account page.