Skip to main content

I created a custom block on the category page to show category title full width after the menu. For that, I created one xmlXML code on local.xml of the theme layout file.

<catalog_category_default>
      <reference name="content">
        <block type="catalog/category_view" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
    </reference>
     </catalog_category_default>
     <catalog_category_layered>
       <reference name="content">
        <block type="core/template" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
     </reference>
     </catalog_category_layered>

and created one file category_info.phtml in page folder.

Now what everwhatever I write in in this file comes out but it stays inside the container,while while I want it to be full width.Is Is there a way to move the block immediateimmediately after the menu so it can come out of that fixed width-width container?

I created custom block on category page to show category title full width after menu. For that I created one xml code on local.xml of theme layout file.

<catalog_category_default>
      <reference name="content">
        <block type="catalog/category_view" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
    </reference>
     </catalog_category_default>
     <catalog_category_layered>
       <reference name="content">
        <block type="core/template" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
     </reference>
     </catalog_category_layered>

and created one file category_info.phtml in page folder.

Now what ever I write in in this file comes out but it stays inside container,while I want it to be full width.Is there a way to move the block immediate after the menu so it can come out of that fixed width container?

I created a custom block on the category page to show category title full width after the menu. For that, I created one XML code on local.xml of the theme layout file.

<catalog_category_default>
      <reference name="content">
        <block type="catalog/category_view" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
    </reference>
     </catalog_category_default>
     <catalog_category_layered>
       <reference name="content">
        <block type="core/template" name="categpry_page_info" as="topCategoriInfo"
                           template="page/category_info.phtml" before="category.products"/>
     </reference>
     </catalog_category_layered>

and created one file category_info.phtml in page folder.

Now whatever I write in this file comes out but it stays inside the container, while I want it to be full width. Is there a way to move the block immediately after the menu so it can come out of that fixed-width container?

move Move custom block immediate after nav

added 4 characters in body
Source Link
dh47
  • 1.7k
  • 1
  • 18
  • 31
Loading
Source Link
Rakhi
  • 183
  • 13
Loading