admin管理员组文章数量:1429211
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
1 Answer
Reset to default 5Nothing. 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.
本文标签: customizationWhat will happen to the additional CSS when the theme is updated
版权声明:本文标题:customization - What will happen to the additional CSS when the theme is updated? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745546256a2662717.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论