Jump to content

Catagory images not displaying properly


Brnationmodel

Recommended Posts

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

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

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 :/

  • Like 1
Link to comment
Share on other sites

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 by vekia (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...