Jump to content

sub category name font size


mdhirstwood

Recommended Posts

It will depends on your theme.

If you are using PrestaShop default theme you will need to make changes to the font size for class subcategory-name in following file

 

/themes/default-bootstrap/css/category.css

 

And you will also need to change how many characters to be displayed in following file, change "truncate:25" to something else for example, "truncate:40"

 

/themes/default-bootstrap/category.tpl

 

<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>
  • Like 1
Link to comment
Share on other sites

would you also know how to change the catergory image banner size for mobile device shows fine on tab/pc but mobile it only displays part

 

<div class="content_scene_cat_bg" style="background:url(http://www.ftbathrooms.co.uk/c/12-category_default/bathroom-furniture.jpg) right center no-repeat; background-size:cover; min-height:217px;"> </div>

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