如何在OpenCart中更改css代码的特定部分?

时间:2016-06-29 07:01:33

标签: html css opencart

这是我正在处理的网站的地址:www.kristallglobal.ir它基于OpenCart,我想改变它的具体部分。第一个是这个" div"的背景​​颜色。我想从"有点紫色"另一种颜色。我在源代码中找到了相关代码,但我不知道应该更改哪个属性。以下是代码:

vagrant@precise64:/vagrant/chef-repo$ sudo apt-get install vim Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libgpm2 libpython2.7 python2.7 python2.7-minimal vim-common vim-runtime vim-tiny Suggested packages: gpm python2.7-doc binfmt-support ctags vim-doc vim-scripts indent The following NEW packages will be installed: libgpm2 libpython2.7 vim vim-runtime The following packages will be upgraded: python2.7 python2.7-minimal vim-common vim-tiny 4 upgraded, 4 newly installed, 0 to remove and 62 not upgraded. Need to get 5,603 kB/13.4 MB of archives. After this operation, 28.1 MB of additional disk space will be used. Do you want to continue [Y/n]? y Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7 amd64 2.7.3-0ubuntu3.1 404 Not Found [IP: 91.189.91.23 80] Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main python2.7-minimal amd64 2.7.3-0ubuntu3.1 404 Not Found [IP: 91.189.91.23 80] Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libpython2.7 amd64 2.7.3-0ubuntu3.1 404 Not Found [IP: 91.189.91.23 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/python2.7_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80] Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python2.7/libpython2.7_2.7.3-0ubuntu3.1_amd64.deb 404 Not Found [IP: 91.189.91.23 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

这是它的图片

and here is the picture of the "div" I want to modify

感谢您的帮助。

1 个答案:

答案 0 :(得分:1)

要定位的元素是标题.toprow使用chrome控制台检查元素,然后在opencart css文件中找到它并从那里替换背景颜色。基于Google Chrome控制台,要编辑的样式表名为stylesheet_rtl.css,位于catalog/view/theme/theme321/stylesheet/stylesheet_rtl.css,Goodluck:)

enter image description here