Claudio10 Posted September 8, 2010 Share Posted September 8, 2010 Hi,when I put an image of a category, prestashop adds white on the sides.What should I do so that the image fills the width?Thanks a lot!Claudio Link to comment Share on other sites More sharing options...
kolomvos Posted September 8, 2010 Share Posted September 8, 2010 I think the image size should be 500x150 pixels. I don't know where you can change that, but I made my images wide and it's fine. Link to comment Share on other sites More sharing options...
rocky Posted September 9, 2010 Share Posted September 9, 2010 That's correct. You can change it by going to Preferences > Images and changing the "category" size. Link to comment Share on other sites More sharing options...
htech Posted April 24, 2011 Share Posted April 24, 2011 hey guysany idea how to enlarge the Category image size to fit the window?everytime i increase the image size in the bakcoffice , there still seems to be a gap .im basically looking for the image to fillout completly. Link to comment Share on other sites More sharing options...
rocky Posted April 25, 2011 Share Posted April 25, 2011 Assuming the 'category' size on the Preferences > Images tab is the full width of the page, you should just need to upload a category image the same width and height as specified, and it should fill the space. Link to comment Share on other sites More sharing options...
htech Posted April 25, 2011 Share Posted April 25, 2011 iv tried to upload a bigger picture and i have tried to change the size in the BO aswell, but all it does is increase the gap size.... Link to comment Share on other sites More sharing options...
rocky Posted April 25, 2011 Share Posted April 25, 2011 I think there is a margin there that is adding the gap. You will need to remove it. It's hard to be sure without having access to your website though. Link to comment Share on other sites More sharing options...
htech Posted April 25, 2011 Share Posted April 25, 2011 yeah iv looked at the that but i think the margin top only applys to the image and now the whole space... Link to comment Share on other sites More sharing options...
rocky Posted April 25, 2011 Share Posted April 25, 2011 I've checked your code and found there is a 1em margin at the top. You should remove line 5 of themes/Sign-Me/css/category.css: #category img#categoryImage { margin-top: 1em } You should also increase the width of the "category" image from 500px to 1200px if you want it full-width. Link to comment Share on other sites More sharing options...
htech Posted April 25, 2011 Share Posted April 25, 2011 cool managed to sort it out, thanks rocky Link to comment Share on other sites More sharing options...
rocky Posted April 25, 2011 Share Posted April 25, 2011 I can't see any gap. It's all blue for me. It looks like you've sorted it out. Link to comment Share on other sites More sharing options...
htech Posted April 25, 2011 Share Posted April 25, 2011 yeah managed to sort it out.there was margin-bottom: 0.5em; and changed it to 0em.then also noticed that photoshop was being lame and adding a light border around my image even those i filled the whole background with a solid colour.zoomed in and removed it.thanks for the help man 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