Skip to main content

Change background color of product preview images

More
11 years 11 months ago #174707 by mcasner
-- HikaShop version -- : HikaShop [1407241754]
-- Joomla version -- : 3.2.3

I'm trying to figure out why some of my product images have a black background... I've checked the product category's settings and they all appear to be white (FFFFFF).

www.ifapray.org/A1/index.php/store/all-merchandise

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #174743 by Xavier
Hi,

Don't you have added something like:
Code:
,'background' => '#000000'
In the image options array of your "product / listing_img_title" view ?

If it is, you can remove this part, or set it to "#FFFFFF".
If not, please try to replace:
Code:
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside')); // By $image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'),'background' => '#000000');

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #174871 by mcasner
How do I change that setting for the image? Is it in the component interface or in CSS?

Please Log in or Create an account to join the conversation.

More
11 years 11 months ago #174884 by nicolas
What Xavier explained can be done via the menu Display>Views of HikaShop. Search for the file "listing_img_title" of the view "product"

Please Log in or Create an account to join the conversation.

Time to create page: 0.222 seconds
Powered by Kunena Forum