<div class="columns">
 <div class="column main">
    <div class="page-title-wrapper">
        <h1 class="page-title">
        <span class="base" data-ui-id="page-title-wrapper">My Account</span>    

How can i move page-title-wrapper div between columns and column main ?

I have try this one by one but not working:

<move element="page.main.title" destination="content" after="columns"/>

<move element="category.image" destination="page.title.wrapper" after="page.main.title" /> 

<move element="page.main.title"  destination="headerlinks" after="columns" />

<move element="page.title.wrapper" destination="header.panel" before="-"/>     

<move element="page.main.title" destination="headerlinks" before="-"/>

Any help will be appreciated.... Thanks in advanced.

  • <move element="page.main.title" destination="sidebar.main" before="-" />
    – Rv Singh
    Dec 9, 2019 at 13:44

1 Answer 1


If you want to add page.main.title block inside column main then use below line

<move element="page.main.title" destination="main" before="-" />

Or if you want to move that inside columns then use below line

<move element="page.main.title" destination="columns" before="-" />


default.xml file content

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <move element="page.main.title" destination="columns" before="-" />

If you want to add title inside column tag in My Account page then please create this file (customer_account_index.xml) inside your theme/module


Content for this file is..

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <move element="page.main.title" destination="columns" before="-" />

Output :

enter image description here

Hope this will help you!

  • I have try one by one your both script but not working for me. Dec 9, 2019 at 14:00
  • Where you're adding this line? Can you please tell me that? Dec 9, 2019 at 14:01
  • 1
    app/design/frontend/Pkg/csw/Magento_Theme/layout/default.xml Dec 9, 2019 at 14:04
  • Please add this line inside <body> tag and then clear and flush magento cache once and check. Dec 9, 2019 at 14:05
  • 1
    yes, it's working in customer_account_index.xml file, thanks. approved your answer. Dec 10, 2019 at 5:49

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.