Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Change Image size for Categories

Change Image size for Categories 10 years 5 months ago #7312

At the moment, if I create a category I can add an image to that category and that is displayed. To my understanding, I see that the category page uses the media file settings for image size. Is there a way to change the image size without the category thumbnail page changing as well?

Code is located: flex2.php - echo $category->images[0]->displayMediaThumb

What I would like to do is make the Category page look like my thumbnail page if possible. Then I can style it and so forth.
Attachments:
The topic has been locked.

Change Image size for Categories 10 years 5 months ago #7313

Figured it out... I commented the following .css and it worked! The original size is showing so the only thing I had to do was style.

a#FWcategorynameImage img {
max-height:100%;
max-width:100%;
}

If no other comments, you can close the ticket.
The topic has been locked.

Change Image size for Categories 10 years 4 months ago #7329

Hi,

this CSS line:
a#FWcategorynameImage img {
max-height:100%;
max-width:100%;
}

is exist to avoid overflowing. So the thumbnail will be limited to box size (both height and width). But if this is not what you are looking for, then it is perfectly fine to remove that CSS rule.

Case solved. Topic closed.

Regards,
Support.
The topic has been locked.
Time to create page: 0.073 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo