admin管理员组

文章数量:1334935

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).

本文标签: Working with a WP Starter theme