Fernando Posted June 25, 2020 Posted June 25, 2020 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
MichaelEZ Posted June 26, 2020 Posted June 26, 2020 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}
Kashir2000 Posted June 26, 2020 Posted June 26, 2020 @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 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now