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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745546256a4632351.html
评论列表(0条)