News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove Manufacturer Name, Keep image

Started by CreativeDesigns, July 16, 2012, 16:24:58 PM

Previous topic - Next topic

CreativeDesigns

On my clients site http://www.stylenouveau.co.za/designers.html I have included the manufacturers logo's, therefore I do not need the name to appear as well.
Is there a way of removing the names of the manufacturers?

ivus

Hi CreativeDesigns,

the simplest way to achieve this without core hacks is to add this into your stylesheet for that template page

.manufacturer-view-default .manufacturer h2 {
  display:none;
}

you can test it in Firebug/inspector first.

CreativeDesigns

This was really helpful! thank you so much!
Any idea how/where in Virtuemart to increase the size of the "thumbnails" for the manufacturers?
I know I made the images 300 x 300, but they are being resized to 90 x 90 :( ARGH!

ivus

Hi CreativeDesigns,

I'm not 100% sure how the images thumbnail function works, but I remember having this issue on my site too where I had changed the image dimensions and expected VM to resize them for me, but it didn't.

I think to fix it (to the new size), I deleted the images that were appended with the wrong size dimensions out of folders. IE "/manufacturer/resized/aldo-brue_90x90.jpg" and then reloaded the page again.
Because both the FILE URL and the THUMB URL are written to the db, I think VM does a FILE_EXISTS() check first and if it doesn't, it'll then recreate the images using the dimensions you specified in your config.


Give that a go and see what happens... no harm, no foul if it doesn't work as all you'll be doing in generating new images. (you may want to backup the folder before doing any deletes).


Good luck.

CreativeDesigns

Thanks for the help. I'll just leave them as is.. Doesn't look too bad :P

Thanks again and have a great day!