Jump to content

Right collum wont remove


Recommended Posts

yes, but we need to see your tpl file to troubleshoot :)

footer.tpl

 

<!-- Right -->

                <div id="right_column" class="column grid_2 omega">

                    {$HOOK_RIGHT_COLUMN}

                </div>

            </div>

 

header.tpl

 

<div id="columns" class="grid_9 alpha omega clearfix">

                <!-- Left -->

                {if $page_name !='index'}

    <div id="left_column" class="column grid_2 alpha">

        {$HOOK_LEFT_COLUMN}

    </div>

{/if}

 

                <!-- Center -->

                <div id="center_column" class="{if $page_name !='index'}grid_5{else}grid_9{/if}">

    {/if}

Link to comment
Share on other sites

I see. Well if you want to get rid of the right column you can simply erase that, then extend the center one :)

You can have a look at my tut as well: http://nemops.com/columns-for-each-prestashop-page/

erase this

 

<!-- Right -->

                <div id="right_column" class="column grid_2 omega">

                    {$HOOK_RIGHT_COLUMN}

                </div>

            </div>

Link to comment
Share on other sites

No, leave the last closing div or everything will break. Only this: 

 

<div id="right_column" class="column grid_2 omega">
                    {$HOOK_RIGHT_COLUMN}
                </div>

Link to comment
Share on other sites

i used the tuturial non workink tried everything i think

 

http://www.cardocumentation.net/prestashop2/index.php?id_category=3&controller=category

 

header

        <!-- Left -->

                {if $page_name != 'index'}

    <div id="left_column" class="column grid_2 alpha">

        {$HOOK_LEFT_COLUMN}

    </div>

{/if}

 

                <!-- Center -->

                <div id="center_column" class="{if $page_name == 'index'}grid_9{elseif $page_name == 'cms'}grid_7 omega{else}grid_6{/if}">

 

footer

<!-- Right -->

                

    

            </div>

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...