Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting raw content with css classes injected but without css code #515

Open
sramirezpch opened this issue Dec 12, 2023 · 0 comments
Open

Comments

@sramirezpch
Copy link

sramirezpch commented Dec 12, 2023

I'm querying pages and getting the response I want, but apparently I can't get the styles that are being applied to the page I created through the wordpress CMS. The background of the paragraph I created is vivid-red, but styles are not being applied when fetching the page and I was wondering if there is a way to fetch the css that's being applied to a resource (page, content, post, etc)

This is how the content is shown in the Wordpress editor.
Screenshot 2023-12-12 at 16 42 36

This is how is shown when rendering the content when querying the page.
Screenshot 2023-12-12 at 16 44 16

@sramirezpch sramirezpch changed the title Getting raw content with css classes injected but without css files Getting raw content with css classes injected but without css code Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant