I read a few people saying this is good to fit everything on layouts
But i want to give a try to see the results in practice.
I read a lot of topics but all i found is how to change colors of the background on /system/library/image.php
Any tip?
Thanks!
hi
may be my answer is irrelevant you may change image border and its color from
catalog/view/javascript/bootstrap/css/bootstrap.min.css
and css looks like as below.
here in above code
code is of interest.
may be my answer is irrelevant you may change image border and its color from
catalog/view/javascript/bootstrap/css/bootstrap.min.css
and css looks like as below.
Code: Select all
.thumbnail {
display: block;
padding: 4px;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: border .2s ease-in-out;
-o-transition: border .2s ease-in-out;
transition: border .2s ease-in-out;
}
Code: Select all
background-color: #fff;
border: 1px solid #ddd;
Good Day,
Jagruti
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.
Well, you could use this OcMod, to get a black color instead of a white one!
At least by newly created thumbs, I assume, so delete the cached pics first, before
testing ...
Ernie
---
background-pictures.ocmod.xml
At least by newly created thumbs, I assume, so delete the cached pics first, before
testing ...
Ernie
---
background-pictures.ocmod.xml
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Change the background of pictures when cropping</name>
<code>Background-pictures</code>
<version>1.0</version>
<date>25.10.2017</date>
<author>webstudia@bk.ru</author>
<link>http://sozdaem-saity.ru</link>
<file path="system/library/image.php">
<operation>
<search><![CDATA[255, 255, 255]]></search>
<add position="replace"><![CDATA[0, 0, 0]]></add>
</operation>
</file>
</modification>
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot] and 499 guests