Jump to content

[SOLVED] Tweakin the front page layout


Recommended Posts

Hi there!

I wonder if some of you could help me with some very simple tweaking..

Ive attached a pic of my front page/global layout, and Ive highlighted the things Im tying to do.

I wanna REMOVE the 'Sort By' box, as well as the heading on the products page (circled) - kinda seems unnesacary.

I also white to change the background colour of the left hand side navigation boxes to white.

Can someone please assist in telling me which codes I need to adjust to remove those boxes, as well as changing the colour of the left panel?

Will appreciate it!

Thanks!:)
Simon

33727_JwlUle2eW609SmK75Mnx_t

Link to comment
Share on other sites

To remove the category title and sort, edit category.tpl in your theme's directory and {* comment out *} lines 5-15 (in PrestaShop v1.3.2):

{strip}
   {$category->name|escape:'htmlall':'UTF-8'}

       {if $nb_products == 0}{l s='There are no products.'}
       {else}
           {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if} 
           {$nb_products} 
           {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if}
       {/if}
{/strip}



and line 56:

{include file=$tpl_dir./product-sort.tpl}



To remove the background from the blocks, remove lines 837 of css/global.css in your theme's directory:

background: transparent url('../img/block_footer.gif') no-repeat bottom left



and line 850:

background: transparent url('../img/block_header.gif') no-repeat top left

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...