Jump to content

Problems with fonts in product page


Recommended Posts

Im using 1.2.2 and having problems making the fonts smaller under the "Products Section". I did tinker around with my global css but to no avail. Below is the image taken from my website. I would like to see the whole content name of the product instead of ..... if it is too long. Thanks again.

11915_dvZgIbUpf7geNi6ayk77_t

Link to comment
Share on other sites

Look into your themes directory.
Look for product-list.tpl file.
Open it with wordpad or other web development program...

Search this line :

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

Change number 35 into something else.
I think it might cause a bit wreck on your web overall look.... so proceed with caution.

Link to comment
Share on other sites

Look into your themes directory.
Look for product-list.tpl file.
Open it with wordpad or other web development program...

Search this line :

{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

Change number 35 into something else.
I think it might cause a bit wreck on your web overall look.... so proceed with caution.


Thanks for your help. I changed it to 70 and it showed the whole sentence. :) Now how to figure out how to make the font i little smaller
Link to comment
Share on other sites

You need to try and error here.... at product-list.tpl, where that line exist, it is blocked by

.
Go into global.css, css directory inside your themes.

Find h3, rework the size you want... for example : 20px... in case you're not familiar with em measurement which is being used.
Also it might end causing a wreck to other part since other text which use h3 tag.

Or if you want, create your own class tag.
For example ( add this into your css ) :
/* this is my personal product list font customization */
.myproductlistfont {
font-size:20px;
}

Back to your product-list.tpl, at the beginning of h3 tag, change it like this :



If you want more info about font customization : http://www.w3schools.com/css/css_font.asp

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