Jump to content

How can I resize image of sub categories???


Recommended Posts

There are a couple of ways you could do this.

If you don't care about the exact pixel size, you could simply change the code to display the next size up (129 x 129) by changing line 34 of category.tpl in your theme directory from:




to:




If you want to specify the exact pixels, go to Preferences > Image, add a size with name "subcategory" and tick Categories, then save and then click Regenerate Thumbnails. You can then use the following code:


  • Like 2
Link to comment
Share on other sites

Have you tried changing the width of the subcategories in css/global.css in your theme? For example, change:

body#category #subcategories li
{
    margin-right: 10px;
}



to:

body#category #subcategories li
{
    margin-right: 10px;
    width: 185px;
}

Link to comment
Share on other sites

  • 3 years later...

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