Archived topic
CSS documentation
1 reply · Started by Jan on January 4, 2021
Hi
i want to build a child theme based on GP and want to use the existing GP core CSS classes as much as possible. Is there any documentation for the GP-CSS a little like bootstrap has? Would be easier than searching for examples in the demo-sites and inspecting the HTML.
Best
Jan
Hi there,
GP doesn't have framework CSS like Bootstrap.
It has a base global CSS file called main.css.
Then your Customizer Settings then does two things:
1. Loads any base styles sheets for specific elements that you enable eg. Sidebars
2. Creates a Dynamic CSS style sheet based on your Customizer Settings.
The majority of the Demo sites are now built with GenerateBlocks which serves its own Dynamic CSS as well as inheriting any theme CSS ( such as Typography settings and colors ).
Maybe the GenerateBlocks plugin is what you need for your purposes ?