Archived topic
Adding CSS Directly to GP CSS files
3 replies · Started by Sam on May 17, 2022
Hi,
I'm using GP in a local dev environment, and I need to add some CSS directly to GP by editing the CSS file in my IDE. I will add those finished CSS snippets through the Simple-CSS plugin eventually. But right now, I need to add them directly to GP CSS files to speed up the development process and use my IDE autoload, linting, and error checking. So which CSS file should I edit to avoid overwriting?
Hi there,
Have you considered adding it to the Additional CSS field in the customizer?
Adding CSS: https://docs.generatepress.com/article/adding-css/
It's simply not a good idea to add anything to the theme's core files.
Yes Leo, as I mentioned this is just temporary and ONLY in a local dev environment.
update:
never mind, got it main.min.css
thank you for your reply :)
Sounds good :)