简体   繁体   English

如何将自己的自定义CSS和HTML添加到Prestashop?

[英]How can I add my own custom css and html to Prestashop?

I was building my own website from scratch and realized that setting up the E-Commerce side of things would take an enormous amount of time so I decided to use Prestashop. 我从头开始构建自己的网站,意识到建立电子商务方面会花费大量时间,因此我决定使用Prestashop。 I've already designed everything besides the actual store. 我已经设计了除了实际商店以外的所有东西。 I wanted to use the default prestashop theme and edit the HTML and css to make it look like my website. 我想使用默认的prestashop主题并编辑HTML和CSS,使其看起来像我的网站。 I've already written all the css and html but I am not sure how to add it to prestashop. 我已经写了所有的css和html,但不确定如何将其添加到prestashop。 Any suggestions? 有什么建议么?

If you are doing small adjustments to the theme you can use the custom.css file. 如果您对主题进行细微调整,则可以使用custom.css文件。

For heavy changes you will have to use npm build|watch in the _dev folder and make your changes in scss files in _dev/css folder. 要进行重大更改,您将必须使用_dev文件夹中的npm build|watch并在_dev / css文件夹中的scss文件中进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以定义自己的自定义HTML元素以用于css和js吗? - Can I define my own custom HTML Elements for use with css and js? 新到 HTML 和 CSS | 如何从我的笔记本电脑添加自定义字体? - New To HTML & CSS | How Can I Add A Custom Font From My Laptop? 如何将我自己的图像添加到以HTML和CSS链接到另一个网站的按钮? - How do i add my own image to a button that links to another website in HTML & CSS? 如何使用html-inline将我的css中添加的自定义字体添加到我的reveal.js演示文稿中? - How can I add the custom fonts added in my css to my reveal.js presentation with html-inline? 如何在我的 HTML 页面中添加 CSS 编辑器 - How can I add a CSS editor inside my HTML page 如何使用 CSS 将默认 Bootstrap 按钮颜色更改为我自己选择的自定义颜色? - How can i change the default Bootstrap button color to my own choice of custom color by using CSS? 如何在Prestashop中将动画(html + css)文本添加到HomeSlider图像中 - How to add animated (html+css) text to HomeSlider images in Prestashop 如何创建自己的 HTML 标签? - how can i create my own HTML tag? 如何将另一个子菜单添加到我的 CSS/HTML 菜单? 我的错在哪里 - How can I add another sub sub menu to my CSS/HTML menu? Where is my mistake 如何在自定义网站中添加CSS和HTML编辑器? - How to add CSS and HTML editor in my custom website?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM