最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

css - Root Sage theme styles are not working!

programmeradmin2浏览0评论

One of the websites that I'm working with has a custom build theme using Sage Roots. It works just fine on the live site and I was trying to setup it up in my localhost to work with it. For some reasons, none of the website styles and working correctly. I checked all the CSS files and made sure all of them are there but still it doesn't work. Is that because I need to install any dependencies for the Sage theme or something else? Any thoughts on this guys?

Thanks!

One of the websites that I'm working with has a custom build theme using Sage Roots. It works just fine on the live site and I was trying to setup it up in my localhost to work with it. For some reasons, none of the website styles and working correctly. I checked all the CSS files and made sure all of them are there but still it doesn't work. Is that because I need to install any dependencies for the Sage theme or something else? Any thoughts on this guys?

Thanks!

Share Improve this question asked Sep 11, 2017 at 15:05 Mithun NathMithun Nath 552 silver badges9 bronze badges 1
  • Is the URL set correctly to your local URL in Settings > General? – Jacob Peattie Commented Sep 11, 2017 at 15:11
Add a comment  | 

1 Answer 1

Reset to default 2

In Sage 9, the asset pipeline comes through Webpack. You'll need to run yarn from the theme root and then start or production build the site with yarn as well.

发布评论

评论列表(0)

  1. 暂无评论