【发布时间】:2019-06-12 12:27:40
【问题描述】:
我尝试在assets/theme.scss 中添加代码。液体,但现在我的网站一团糟。我已经删除了试图回滚的代码,但它仍然是一样的。
Jumpstart Theme
Table of contents:
1. BASICS
1.1. Reset
1.2. Variables
1.3. Mixins
1.4. Grid
1.5. Helper classes
1.6. Typography
2. STRUCTURE
2.1. General
2.2. Header
2.3. Navigation
2.4. Footer
2.5. Objects
2.6. Forms
2.7 Blank states
3. HOME PAGE
3.1. General
3.2. Crowdfunding
3.3. Hero
3.4. Image feature content
3.5. Slideshow
3.6. Page
3.7. FAQ
3.8. Features
3.9. Clients
3.10. Gallery
3.11. Newsletter
3.12. Feature collection
3.13. Map
3.14. Rich text
4. TEMPLATES
4.1. Blog
4.2. Collections
4.3. Cart
4.4. Password
4.5. Customer
4.6. Captcha
5. MAGNIFIC POPUP
您的主题似乎有错误。
在模板编辑器中尝试 assets/theme.scss.liquid 以修复错误 下面:
“...内容文件:”后的 CSS 无效:预期为伪类或 伪元素,在 2 处是“1. BASICS”
【问题讨论】:
-
在css中添加一些属性后可能缺少分号
-
您好,您不应该尝试将文本或 html 放入 scss 文件中...
-
你展示的内容是什么?这是你添加的吗?