[SOLVED] Change white background of product image displays

  • Posts: 1
  • Thank you received: 0
7 years 11 months ago #270592

[SOLVED!!!]

Add following code to frontend_default.css (located in root/media/com_hikashop/css

line 665: background-color: #000 !important; (changes Background of images from white to black)

Add new code to same file (i.e. at the end of file)

div.hikashop_subcontainer {
background-color: #000 !important;
}

This changes the white boxes to black. Simply put in the color you need.

Yes - probably not the right way. And will be gone after the next update. But quick and dirty. And working.

Last edit: 7 years 11 months ago by Arthammer DE. Reason: Solved.

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

  • Posts: 26233
  • Thank you received: 4036
  • MODERATOR
7 years 11 months ago #270596

Hello,

If you want to edit the HikaShop CSS ; it's best to use the corresponding interfaces so you will create "overrides" which will be kept with updates.
www.hikashop.com/support/documentation/1...the-display.html#css

Afterwards, when the "force size" setting is activated, then white stripes can be added to the images when HikaShop resize the images.
When that setting is turned off, HikaShop doesn't add these stripes.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 21
  • Thank you received: 0
7 years 10 months ago #273862

But if I need the white stripe in black color when I force image dimension, How I do this??

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

  • Posts: 12953
  • Thank you received: 1778
7 years 10 months ago #273871

Hello,

Then in that case, the best solution will probably be to directly use CSS code customization :
www.hikashop.com/support/documentation/1...the-display.html#css

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

Time to create page: 0.060 seconds
Powered by Kunena Forum