Sciamano Posted November 11, 2008 Share Posted November 11, 2008 Hi,this is probably a stupid question, but I can't manage to solve...If you look at the attached picture you will notice that the images of some subcategories are not centered over the subcategory's name when this is long (look at the "Emerson Network Power" subcategory, for an example).How do I make all the images align at center of their respective subcategory name?Thanks Link to comment Share on other sites More sharing options...
Sciamano Posted November 12, 2008 Author Share Posted November 12, 2008 No one? I thought this would be an easy problem for all you prestashop-wizards!! Link to comment Share on other sites More sharing options...
Sciamano Posted November 14, 2008 Author Share Posted November 14, 2008 No one? Come on! Link to comment Share on other sites More sharing options...
jhnstcks Posted November 14, 2008 Share Posted November 14, 2008 Try this ul.inline_list li { Float: left; text-align: center; padding: 7px; } Thats at about line 143.Works fine with IE7 but with FF some images wont center for me, but that maybe because of the image and not the code. Link to comment Share on other sites More sharing options...
Sciamano Posted November 18, 2008 Author Share Posted November 18, 2008 Thanks!I'm having the same problem you are having with FF... some pictures don't align correctly. :-/ Link to comment Share on other sites More sharing options...
Richard Hallett Posted November 21, 2008 Share Posted November 21, 2008 Hi,I found rewriting these two lines in Your Global CSS file in your theme Dir made it work fine.Around line66Changeul.inline_list li img{ display:block; }toul.inline_list li img{ display:block; padding: 15px; }=] Link to comment Share on other sites More sharing options...
Recommended Posts