VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ramherfer on September 13, 2012, 08:21:39 AM

Title: images border
Post by: ramherfer on September 13, 2012, 08:21:39 AM
Hello good morning, how I can put a border to the images in the list of products in the product detail?
Using virtuemart joomla 2.0.10 and 2.5.6
A greeting.
Ramiro Hernandez
Title: Re: images border
Post by: ivus on September 13, 2012, 15:21:51 PM
Hi ramherfer,

???
Quotethe images in the list of products in the product detail

are you referring to the additional images? or the related products? or the child products?
Title: Re: images border
Post by: ramherfer on September 13, 2012, 20:14:08 PM
IVUS Hello, thank you for your interest in the first place. I mean the main product image both in the list of categories, as in the product details.

As much as I searched the archives virtuemart default, I have not found the right to modify it.
Thank you.
Ramiro
Title: Re: images border
Post by: ivus on September 13, 2012, 20:27:07 PM
Hi ramherfer,

FYI you should use Firebug/Developer Tool to find the styles you want to change.

You can define a new style in the following file "/components/com_virtuemart/assets/css/vmsite-ltr.css"

add to the very bottom: along with anything else you want to set



.browse-view .row .product img,
.main-image img,
.additional-images img
{
border:1px solid #f0f;
}

Title: Re: images border
Post by: ramherfer on September 13, 2012, 21:44:54 PM
Thank you very much. All pictures will they come out with the border?
Ramiro
Title: Re: images border
Post by: jenkinhill on September 13, 2012, 21:58:35 PM

ramherfer, try it and see. It only takes about a minute to add a css style and check the result. after that use Firebug if you need to test changes to that style. http://forum.virtuemart.net/index.php?topic=102850.0