Jump to content
thirty bees forum

Recommended Posts

Posted

Hello,

I would like to hide the heading of one of my categories, only when viewing this category page.

How do I find / target just this page?

guessing the custom code would be

????? .cat-name {display:none;}

Thanks

Posted

u sure can, just edit category.tpl a use someting like this (my way of doing this) 

{if $smarty.get.id_category==1}
spec code for cat. with id 1
{elseif $smarty.get.id_category==2}
spec code for cat. with id 2     
{else}   
default heading
{/if}             
Posted

@Fernando In custom CSS I would go with:

body.category-{id_category} .category-info { display: none;}

.category-info will hide h1 and description

.page-heading.product-listing would hide only h1

  • Like 1

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