Archived topic
Child Theme without "content CSS"
3 replies · Started by sprylab on January 10, 2019
Hi,
I have a situation where I get articles from a 3rd party system into wordpress. Problem is, that these articles have their own css (and they should keep it), so what I am thinking to do is create a child theme and create a custom post type for these articles.
In the child theme I would like to load only css from generatepress which is not for the content area (so load css for menues, ...) so that the articles can use their own css which I want to enqueue for that post-type.
Is an approach like this feasible? Is the gp-css organized in a way I can pull in only not "content-area" css?
Sorry, bit of a strange question but any thought would be highly appreciated!
Thanks
Stephan
Hi there,
I can't really think of a way that this would work.
Is there specific CSS in GP that is causing issues with your articles? If so, it might be better to use custom CSS to overwrite those issues.
Thanks for the fast answer!
This is what I thought too.
Best
Stephan
No problem :)