- Posts: 1
- Thank you received: 0
[SOLVED] Change white background of product image displays
- Arthammer DE
-
Topic Author
- Offline
Less
More
9 years 3 months ago - 9 years 3 months ago #270592
by Arthammer DE
[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.
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: 9 years 3 months ago by Arthammer DE. Reason: Solved.
Please Log in or Create an account to join the conversation.
9 years 3 months ago #270596
by Jerome
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.
Replied by Jerome on topic [SOLVED] Change white background of product image displays
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,
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.
9 years 2 months ago #273862
by cesarlab69
Replied by cesarlab69 on topic [SOLVED] Change white background of product image displays
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.
Less
More
- Posts: 12953
- Thank you received: 1778
9 years 2 months ago #273871
by Mohamed Thelji
Replied by Mohamed Thelji on topic [SOLVED] Change white background of product image displays
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
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.246 seconds