X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   background color product-photo (https://forum.x-cart.com/showthread.php?t=72695)

Rob 08-31-2015 06:27 PM

background color product-photo
 
1 Attachment(s)
I'm working with x-cart 5.

I'm trying to change the background color of the product photos from white to black.

I element inspector and found:

}
#content .products div.product-photo, .products-grid div.product-photo {
background: #FFF none repeat scroll 0% 0%;
padding: 10px 0px;
margin-bottom: 20px;
border-radius: 0px;
}

I changed the background to #000 in the inspector and it looked perfect.

I copied the above code and added it to the Custom CSS in "look and feel" but it does not have any effect.

What is it I'm missing?

URL:
www.herbalincensebags.guru

Thanks Much,
Rob
Core version: 5.2.6

seyfin 08-31-2015 08:10 PM

Re: background color product-photo
 
This issue appears to be related to the bug that has been fixed in ThemeTweaker version 5.2.7 (https://bt.x-cart.com/view.php?id=45019). Please install the available update in your X-Cart store.

Also, after installing the updates, clear the aggregation cache in your X-Cart admin back-end (Look o& Feel >> Performance).

Rob 09-01-2015 07:30 AM

Re: background color product-photo
 
Thanks for the quick response. I'll try to update today.

Sincerely,
Rob

heinz57beans 01-05-2017 01:41 PM

Re: background color product-photo
 
did anyone manage to solve this problem because im having same issue i cant change the white background either and i posted same custom code in custom css

qualiteam 01-05-2017 11:22 PM

Re: background color product-photo
 
Quote:

Originally Posted by heinz57beans
did anyone manage to solve this problem because im having same issue i cant change the white background either and i posted same custom code in custom css


What is your X-Cart version? Please add it to your signature.

What theme does your X-Cart use? Does it have any custom tweaks already?

What is your custom CSS code?

On the page where you enter your custom CSS, did you switch "Use custom css" to "On"?


All times are GMT -8. The time now is 07:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.