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

Working with a WP Starter theme

programmeradmin2浏览0评论

I am building a custom theme and I am starting with a starter theme. When add my CSS, do I modify the CSS in the style.css or add my own CSS on top of what's already there? I don't want to remove something that is needed.

I am building a custom theme and I am starting with a starter theme. When add my CSS, do I modify the CSS in the style.css or add my own CSS on top of what's already there? I don't want to remove something that is needed.

Share Improve this question edited Jun 26, 2020 at 19:40 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Jun 26, 2020 at 19:04 JayDev95JayDev95 1798 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is a bit subjective, but with a starter theme I'd go ahead and overwrite the existing styles as you see fit. You can always reference the original copy if you're worried about breaking something.

By starter theme, I mean a theme that has a bunch of boilerplate is intended to by copied and modified/added to (_s, for example).

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论