[Resolved] Child Theme without "content CSS"

Home Forums Support [Resolved] Child Theme without "content CSS"

Home Forums Support Child Theme without "content CSS"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #778599
    sprylab

    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

    #778805
    Tom
    Lead Developer
    Lead Developer

    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.

    #778918
    sprylab

    Thanks for the fast answer!
    This is what I thought too.

    Best
    Stephan

    #779319
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.