php - Opencart 布局和设计

标签 php html css opencart

我正在这个网站上工作 www.theartisanscorner.com.au/index.php我对 Opencart 很陌生。我一直在努力解决这个问题,真的需要一些帮助

  1. 所有页面上的文本都离页面边缘太近了。我已经改变了 div 容器的宽度,但它只是把它拉长了。

  2. 我想在所有页面的 div 容器上使用图像作为所有页面的边框。我可以添加 border-style: solid;但我想要一张图片。

    容器{

    background: none repeat scroll 0 0 #FCE3CE;
    margin-left: auto;
    margin-right: auto;
    width: 980px;
    

  3. 在主页幻灯片上,我想在它周围有一个边框(如果可能的话,一个图像边框)

  4. 页脚图片有白色,这是我上传的图片尺寸的问题吗?

非常感谢, 德林

最佳答案

The text is too close on all pages in regards to the edge of the pages. I have changed the width of div container, but it just stretches it out.

您可以在/catalog/view/theme/your-theme-name/stylesheet/stylesheet.css 中更改 width: 980px; 但通常它是 980 px,因为有些用户在他们的浏览器。

I want to use an image as a border for all pages on the div container on all pages. I can add border-style: solid; but i would like an image instead.

使用 css 规则 background-image

On the homepage slideshow i want to have a border around it (if possible an image border)

是的,可以使用 background-image

There is white on the footer images, is this due to the size of the images i have uploaded?

也许是因为你在页脚后面有东西?默认情况下,有一条消息“由 Opencart 提供支持”,由于这条消息,页脚后有一个空白区域。

关于php - Opencart 布局和设计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9712178/

相关文章:

带有选项卡内容的 CSS 仪表板导致主区域显示在导航下方

php - 如果有多个结果,则对数据库中一个字段的值进行排名,并仅返回排名最高/最低的值

html - 需要改变第三个<h1>的颜色

html - float 时如何根据其他div调整div的高度和宽度

html - Bootstrap 下拉菜单未出现在 "col"内

html - 纯 CSS 动画拒绝...动画

css - 过渡属性不适用

php - MySQL根据第二个表字段值批量更新表

php - 使用 DOM 抓取网站的标题

php - $.post 和 mysql 数据库的问题