How to Change Column Layout for Contact Us Page in Magento

layoutmagento-1.9xml

I want to change contact us page layout from current 2columns-rightlayout to 1column layout, i have no idea how to do that.

Best Answer

there is two method to do that

Method 1

app/design/frontend/base/default/layout/contacts.xml

copy to your theme

app/design/frontend/yourpackage/yourtheme/layout/contacts.xml

change

<action method="setTemplate"><template>page/2columns-right.phtml</template></action>

to

<action method="setTemplate"><template>page/1column.phtml</template></action>

Method 2

app/design/frontend/yourpackage/yourtheme/layout/local.xml

if there add below or else create new local.xml

<?xml version="1.0"?>
    <layout version="0.1.0">
        <contacts_index_index>
            <reference name="root">
            <action method="setTemplate"><template>page/1column.phtml</template></action>
        </reference>
        </contacts_index_index>
    </layout>
Related Topic