In my project, I added 2column-left layout to the home page through CMS as discussed here.
As shown in the above image, I am trying to remove the red lined section from the green lined section which has class name as col-main
.
I know how to remove blocks through updation layouts but this is some kind of different. there is no template file which holds the red lined block.
Here is the excerpt code from 2columns-left.phtml
:
<div class="col-main">
<?php echo $this->getChildHtml('global_messages') ?>
<?php echo $this->getChildHtml('content') ?>
</div>
If I remove the content
block from the above code then nothing is changing and if I remove global_messages
complete green lined section is being removed which I absolutely don't want.
I even tried to search for the template files holding by the above blocks in page.xml. but they don't hold any template file.. (weird).
Here is the page.xml excerpt code:
<block type="core/messages" name="global_messages" as="global_messages"/>
<block type="core/messages" name="messages" as="messages"/>
<block type="core/text_list" name="content" as="content" translate="label">
<label>Main Content Area</label>
</block>
Not sure what is happening here..
Any help?
EDIT: I have seen just now that the content is in CMS. but will modifying CMS content will effect future magento upgrades?
Any other better way?