Hi Guys,
i have a question about the frontpage. right now i have two categories which have thier own sub categories. But i want those two top categories displayed big at the front page with large images.
i know that if i change the thumpnail size at configuration -> Templates -> width height the images size change but this also changes the size of the other categories witch i don't want to change.
so my question is how can i change the size of only those two category images?
VM version i am using is : 3.0.16
Website i am talking about : http://www.rn-motoren.nl/index.php/webshop-1 but it's offline right now so if you want to take a look i will message you a account to log in to
PHP: 5.6
VM Template : Horme_3
Use a css override for those images. http://forum.virtuemart.net/index.php?topic=116620.0
hi Jenkinhill,
i use firebug and i see the code but with override you mean rewrite the code with the change i made.
Or just change code in the original file.
img{
max-width: 100%;
height: auto;
}
i changed it to
img{
max-width: 100%;
height: 500px;
}
didn't get the effect i wished for haha. i propably do something wrong.
i am not a expert on thisbut have some experience so if someone could give me a lead i will be able to finish it :D
changing the image file did the trick in firebug but where to edit this in VM. do you guys have any suggestions ?
<img src="/images/stories/virtuemart/category/resized/team-traction-control-gsxr600-2014-small_500x500.jpg" alt="team-traction-control-gsxr600-2014-small"> NEW
<img src="/images/stories/virtuemart/category/resized/team-traction-control-gsxr600-2014-small_0x150.jpg" alt="team-traction-control-gsxr600-2014-small"> OLD
You template will use overrides for layout which you will find in templates/[your Horme template]/html/com_virtuemart/
As it is a commercial template you should ask Spyros on https://www.olympianthemes.com/forum.html for specific help.
See http://forum.virtuemart.net/index.php?topic=108212.0
yeah but isn't the image size defined by Virtue mart ?
yes- but it is over-rideable at the template level
see_> https://docs.virtuemart.net/tutorials/templating-layouts/222-different-thumbnail-sizes.html
yeah i have seen that topic and i tried my best. but i just don't figure it out where to post the code. any ideas?