Jump to content

Subcategory Images Overlap Text


Recommended Posts

I am creating my categories and subcategories and ran into this problem:

 

8b0JPrb.jpg

The image area is overlapping the above subcategory's text.  

 

There's also not enough room for some of my subs titles and they get truncated...  I can get by with renaming my subs although I'd rather not.  Seems like there should be a bit more room here.  Is there a way to allow more characters in the text box and also so the image below won't overlap that text?  It's a 125x125 thumb, btw.

 

PrestaShop 1.6.1.7

Default Theme with some modifications by me

Link to comment
Share on other sites

OK - that did it.  I changed it from 13px to 40 px and to give it a more centered (top to bottom) appearance.

 

DqSQtDP.jpg

 

Thank you very much.  

 

I'm going to 'Like' and mark this as solved.  I still have the issue of truncated umm subcat titles(?) but that was not the topic I originally started, so I'll start another thread about that.

 

Thanks again!!

Link to comment
Share on other sites

Look at category.tpl at line 90 you will see this

 

<h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5>

 

change the truncate size to one that is acceptable.

  • Like 1
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...