trungvh_2010 Posted March 26, 2009 Share Posted March 26, 2009 I want to resize image of sub categories. Size present is 80*80. I want it larger and each row have 4 sub categories, not 6 now Link to comment Share on other sites More sharing options...
rocky Posted March 26, 2009 Share Posted March 26, 2009 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: 2 Link to comment Share on other sites More sharing options...
trungvh_2010 Posted March 26, 2009 Author Share Posted March 26, 2009 Thank for answer but i have one more problem. Can you expland???? I want to align all thumbnails to center. And justify them.... Link to comment Share on other sites More sharing options...
rocky Posted March 26, 2009 Share Posted March 26, 2009 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 More sharing options...
henn Posted March 6, 2013 Share Posted March 6, 2013 hi rocky i want to try this.. but your code on message #2 cannot be read anymore could you write again.. thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted March 6, 2013 Share Posted March 6, 2013 hi rocky i want to try this.. but your code on message #2 cannot be read anymore could you write again.. thanks in advance those posts were written in March 2009, a lot has changed since then Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now