worldwideunlock Posted September 9, 2011 Share Posted September 9, 2011 Hello, I hope someone will know how to sort this thing out. I'd like to have pictures of subcategories and categories centered in view. As you see in the link below the pictures and names for it allign to the left: www.simlock48.pl/category.php?id_category=147 How? Which file is it? Thanks in advance Link to comment Share on other sites More sharing options...
phrasespot Posted September 11, 2011 Share Posted September 11, 2011 Assuming default theme, the div element which wraps subcategories is: subcategories The CSS file for the relevant section of output is /themes/prestashop/css/category.css You could give the subcategories div width and margin rules to centre it in the area available to it. Something similar to (adjust as necessary): #categories {margin 0 auto; width:550px;} // width depends on how many subcategories you want to display per row Link to comment Share on other sites More sharing options...
worldwideunlock Posted September 16, 2011 Author Share Posted September 16, 2011 Assuming default theme, the div element which wraps subcategories is: subcategories The CSS file for the relevant section of output is /themes/prestashop/css/category.css You could give the subcategories div width and margin rules to centre it in the area available to it. Something similar to (adjust as necessary): #categories {margin 0 auto; width:550px;} // width depends on how many subcategories you want to display per row Hi Thanks but I don't see in the folder category.css file. Only global, maintenance and scenes Link to comment Share on other sites More sharing options...
phrasespot Posted September 17, 2011 Share Posted September 17, 2011 Thanks but I don't see in the folder category.css file. Only global, maintenance and scenes This may be due to not using the default theme. Find exactly in which CSS file, the element with id "categories" is referred to. 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