customization - What will happen to the additional CSS when the theme is updated?

I have a premium theme installed and I need to add some custom CSS to add some new styles.So what will happen if I add t

I have a premium theme installed and I need to add some custom CSS to add some new styles.

So what will happen if I add the CSS to the additional css section in the customize? Will I lose them when the theme is updated?

Should I install a plugin or create a simple one for this?

I tried to search about that, But didn't find an answer.

I have a premium theme installed and I need to add some custom CSS to add some new styles.

So what will happen if I add the CSS to the additional css section in the customize? Will I lose them when the theme is updated?

Should I install a plugin or create a simple one for this?

I tried to search about that, But didn't find an answer.

Share Improve this question asked Apr 27, 2019 at 13:27 maxwellmaxwell 233 bronze badges 1
  • Normally the css will be saved in the database I guess. – Robbert Commented Apr 27, 2019 at 13:30
Add a comment  | 

1 Answer 1

Reset to default 5

Nothing. The Additional CSS section of the customiser will be unaffected by updating the theme.

The reason you may have seen warnings regarding updating themes and losing customisations is because when themes are updated, all of its files are replaced with fresh copies. So the reason you lose changes is because if you modified the themes files then they have been overwritten with copies that don’t have your changes. None of this is relevant to the Customiser, because it doesn’t modify theme files.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745546256a4632351.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信