Jump to content

Is it possible to hide the heading from the Prestashop category block?


Recommended Posts

Hi all! :)

 

As the topic suggests, I want to hide/disable the heading of the default Prestashop category block. My theme also displays the current category's heading title, so the heading is showed two times.

 

How can i disable the heading from the Prestashop category block? And also, is it in the plans ti enable this feature in the future?

Thank you

 

Regards

 

Rasmus Berg

post-1137460-0-14922600-1447607669_thumb.png

Link to comment
Share on other sites

Hi Rasmus!

 

I thinks this is more a theme thing, not something that should be a feature. You can find it in blockcategories.tpl in your theme/modules/blockcategories.

 

Delete the whole H2 tag and the block will have no title.

	<h2 class="title_block">
		{if isset($currentCategory)}
			{$currentCategory->name|escape}
		{else}
			{l s='Categories' mod='blockcategories'}
		{/if}
	</h2>
Link to comment
Share on other sites

Hello

 

Sorry if I am barking up the wrong tree but, assuming you are using default theme as your image suggests then why not use a little bit of css

 

.page-heading {display: none;}

 

 

Before:

http://screencast.com/t/JkeueNVjz6g

 

After:

http://screencast.com/t/siIGLgBCihHH

 

.block .title_block, .block h4 {display: none;}

 

Before:

http://screencast.com/t/2Jt71kt2R

 

After:

http://screencast.com/t/FX9mA55z0Ojt

 

Paul

Edited by Paulito (see edit history)
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...