justdogwalking.com Posted October 9, 2010 Share Posted October 9, 2010 Hi I have 2 catagory levels - in the lower (sub) catagory display can I adjust the text so it matches the image width?and can I control/define how many catagories I have on one line?Thanks Link to comment Share on other sites More sharing options...
rocky Posted October 10, 2010 Share Posted October 10, 2010 To make the text match the image width, change the following line in the /* category.tpl */ section of global.css: body#category #subcategories li { margin-right: 10px } to: body#category #subcategories li { margin-right: 10px; width: 80px } To choose how many subcategories per line, change lines 35-36 of category.tpl from: {foreach from=$subcategories item=subcategory} to: {foreach from=$subcategories item=subcategory name=subcategories} Change 4 to the number of subcategories you want per line and 3 to one less than the number of subcategories per line. Link to comment Share on other sites More sharing options...
justdogwalking.com Posted October 10, 2010 Author Share Posted October 10, 2010 Thanks very much indeed Will try it out tomorrow Shame Prestashop does not have this facility as a setting.Thanks again 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