【问题标题】:Tried to change the theme now I messed it up试图改变主题,现在我搞砸了
【发布时间】: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 文件中...
  • 你展示的内容是什么?这是你添加的吗?

标签: html css shopify


【解决方案1】:

在第一条规则(Jumpstart Theme)之前再次添加/*

【讨论】:

  • 非常感谢您救命!
  • 没问题...别忘了有一天回来接受答案;)
猜你喜欢
  • 2015-09-21
  • 1970-01-01
  • 2014-06-19
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-12-27
  • 1970-01-01
相关资源
最近更新 更多