Jump to content

Edit History

JulienPct

JulienPct

10 minutes ago, jinga said:

Est ce que vous pensez que c'est complexe à modifier ?

Tout dépend de ce que veux dire "raz les pâquerettes"

Personnellement j'ai ajouté ce code entre la section et la div content-wrapper (c'est un exemple 1.7.7.8) 

Quote

 

<section id="wrapper">
        {hook h="displayWrapperTop"}

        {if $page.page_name == 'category'}
            <div id="js-product-list-header">
                {if $listing.pagination.items_shown_from == 1}
                    <div class="block-category card card-block">
                        {block name='breadcrumb'}
                            {include file='_partials/breadcrumb.tpl'}
                        {/block}
                        <i class="icon-{$category.link_rewrite}"></i>
                        <h1 class="h1">{$category.name}</h1>
                        {if $category.description}
                            <div id="category-description" class="text-muted">{$category.description|truncate:300:'...' nofilter}</div>
                            {if $category.secondDescription}
                                <a href="#footer" class="category-description-link">Lire la suite</a>
                            {/if}
                        {/if}
                    </div>
                {/if}
            </div>
        {/if}
        {if $page.page_name != 'index'}
        <div id="content-wrapper">

 

 

JulienPct

JulienPct

Just now, jinga said:

Est ce que vous pensez que c'est complexe à modifier ?

Tout dépend de ce que veux dire "raz les pâquerettes"

Personnellement j'ai ajouté ce code entre la section et la div content-wrapper (c'est un exemple 1.7.7.8) 

<section id="wrapper"> {hook h="displayWrapperTop"} {if $page.page_name == 'category'} <div id="js-product-list-header"> {if $listing.pagination.items_shown_from == 1} <div class="block-category card card-block"> {block name='breadcrumb'} {include file='_partials/breadcrumb.tpl'} {/block} <i class="icon-{$category.link_rewrite}"></i> <h1 class="h1">{$category.name}</h1> {if $category.description} <div id="category-description" class="text-muted">{$category.description|truncate:300:'...' nofilter}</div> {if $category.secondDescription} <a href="#footer" class="category-description-link">Lire la suite</a> {/if} {/if} </div> {/if} </div> {elseif $page.page_name == 'cms'} <div id="js-product-list-header"> <div class="block-header card card-block"> {block name='breadcrumb'} {include file='_partials/breadcrumb.tpl'} {/block} <h1 class="h1">{$page.meta.title}</h1> </div> </div> {/if} {if $page.page_name != 'index'} <div id="content-wrapper">

Quote

 

<section id="wrapper">
        {hook h="displayWrapperTop"}

        {if $page.page_name == 'category'}
            <div id="js-product-list-header">
                {if $listing.pagination.items_shown_from == 1}
                    <div class="block-category card card-block">
                        {block name='breadcrumb'}
                            {include file='_partials/breadcrumb.tpl'}
                        {/block}
                        <i class="icon-{$category.link_rewrite}"></i>
                        <h1 class="h1">{$category.name}</h1>
                        {if $category.description}
                            <div id="category-description" class="text-muted">{$category.description|truncate:300:'...' nofilter}</div>
                            {if $category.secondDescription}
                                <a href="#footer" class="category-description-link">Lire la suite</a>
                            {/if}
                        {/if}
                    </div>
                {/if}
            </div>
        {/if}
        {if $page.page_name != 'index'}
        <div id="content-wrapper">

 

 

×
×
  • Create New...