Jump to content

How to get the products in perfect line


Recommended Posts

You need to decide how many lines you want the product name to be and then give it a fixed height so all product names have the same height. For example, if you want three lines, you can add the following code to your CSS:

.product-block .name a {
    height: 3em;
}

If you want only two lines, you'll need to edit product-list.tpl and reduce the truncate value on the product name.

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