Post by bwalton » Mon Mar 21, 2016 10:51 am

Is there a way to increase the Category name length as it appears in the "refine Search" section, it seems to wrap after about 17 or 18 characters....... it kind of makes for a messy look. For ver 2.2

Thanks
Bill

New member

Posts

Joined
Mon Mar 07, 2016 6:15 am

Post by opencartboost » Mon Mar 21, 2016 12:50 pm

No limitation character for category name from default code.
Did you using third party theme or other extension which change code for category name?

Active Member

Posts

Joined
Thu Jul 09, 2015 5:59 am

Post by bwalton » Mon Mar 21, 2016 1:41 pm

No default theme, its not that it limits the number of characters its that it wraps the category selection line after 17 or 18 characters. here is an example: Notice how it wraps the text to a 2nd line I would like to keep it all on one line......

Image

New member

Posts

Joined
Mon Mar 07, 2016 6:15 am

Post by opencartboost » Mon Mar 21, 2016 9:10 pm

That is because display subcategory using 4 columns (<div class="col-sm-3">)
Try change 3 columns or 2 columns,
Open file category.tpl at catalog/view/theme/default/template/product
Find (line 33 and 44) :

Code: Select all

<div class="col-sm-3">
Replace with :

Code: Select all

<div class="col-sm-4">
or

Code: Select all

<div class="col-sm-6">

Active Member

Posts

Joined
Thu Jul 09, 2015 5:59 am

Post by David.Feldman » Mon Mar 21, 2016 9:46 pm

You could also edit the CSS for the theme or consider using a different theme that allows for more space for the categories.

OpenCartHosting.com -- Experts at OpenCart Hosting


New member

Posts

Joined
Fri Nov 27, 2015 12:14 am

Post by bwalton » Tue Mar 22, 2016 11:13 am

opencartboost wrote:That is because display subcategory using 4 columns (<div class="col-sm-3">)
Try change 3 columns or 2 columns,
Open file category.tpl at catalog/view/theme/default/template/product
Find (line 33 and 44) :

Code: Select all

<div class="col-sm-3">
Replace with :

Code: Select all

<div class="col-sm-4">
or

Code: Select all

<div class="col-sm-6">
Thank you That fixed it

All the Best
Bill

New member

Posts

Joined
Mon Mar 07, 2016 6:15 am
Who is online

Users browsing this forum: No registered users and 30 guests