Brnationmodel Posted October 21, 2012 Share Posted October 21, 2012 Hello community, I am currently working on my prestashop and for some reason I am trying to upload my catagory image and when doing so it does not display in the whole box. My website is http://bedrocknation.com/en/2-men does anyone have any suggestions? Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 Hello community, I am currently working on my prestashop and for some reason I am trying to upload my catagory image and when doing so it does not display in the whole box. My website is http://bedrocknation.com/en/2-men does anyone have any suggestions? look at the image: http://bedrocknation.com/c/2-category/men.jpg you've got white stripes both on top and bottom. that's the main problem of this Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 Hey Vekia, thanks for the quick response. I actually tried to make the image bigger and I assure you there is no white stripes on the image. The left side where it says MEN is not suppose to be there, the image I uploaded shows partially on the right Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 Hey Vekia, thanks for the quick response. I actually tried to make the image bigger and I assure you there is no white stripes on the image. The left side where it says MEN is not suppose to be there, the image I uploaded shows partially on the right what is a category image size in your prestashop? Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 365 by 250 lol thats the problem I believe. Thanks a lot Vekia Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 Refresh and look at it now, for some reason I cannot get it to overwrite over the left side where Men is showing Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 Refresh and look at it now, for some reason I cannot get it to overwrite over the left side where Men is showing hmmm what you exactly want? Where you want to display category image? you want to display it as a background of this dark rectangle? I'm sorry, I'm sleepy :/ 1 Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 I basically want to make my catagory image this Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 (edited) new code: <div class="top_category" style="position: relative; display:block; clear:both;"> <div class="align_center" style="text-align: center; display:block;"> <img src="http://bedrocknation.com/c/2-category/men.jpg" alt="Men" title="Men" id="categoryImage" width="650" height="300"/> </div> </div> change image url / title etc with correct smarty variables you must also change some css / or image size to center it in this block Edited October 21, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 Im fairly new to prestashop, where would I add this code? Catagory.tpl? Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 Im fairly new to prestashop, where would I add this code? Catagory.tpl? right. before you apply any changes, make a backup of this file. Link to comment Share on other sites More sharing options...
Brnationmodel Posted October 21, 2012 Author Share Posted October 21, 2012 Do I need to add the following code for each catagory I have? Link to comment Share on other sites More sharing options...
vekia Posted October 21, 2012 Share Posted October 21, 2012 Do I need to add the following code for each catagory I have? nope, just one time in one file This is a template file for each category in shop 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