You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This is how is shown when rendering the content when querying the page.
The text was updated successfully, but these errors were encountered:
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
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](https://private-user-images.githubusercontent.com/45132050/290011488-280e6adf-2625-44a3-8e0d-faa6d2029f44.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1OTkxMzYsIm5iZiI6MTcyNTU5ODgzNiwicGF0aCI6Ii80NTEzMjA1MC8yOTAwMTE0ODgtMjgwZTZhZGYtMjYyNS00NGEzLThlMGQtZmFhNmQyMDI5ZjQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDA1MDAzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU3MWZiOWFiMDg0NjVkN2FkMmZmZDM0NDQyMzAxNzQ4NDIyM2VhNWVkNzk5YjA3ZDUyN2UyNThhY2EzMGNkZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.alUOG1HHjaHWcop8H9sPpOP87jEUvsV5eY1UlyLQuHY)
This is how is shown when rendering the content when querying the page.
![Screenshot 2023-12-12 at 16 44 16](https://private-user-images.githubusercontent.com/45132050/290011809-b5714ca6-8a31-4a4b-8a1c-6f6de2395ee6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1OTkxMzYsIm5iZiI6MTcyNTU5ODgzNiwicGF0aCI6Ii80NTEzMjA1MC8yOTAwMTE4MDktYjU3MTRjYTYtOGEzMS00YTRiLThhMWMtNmY2ZGUyMzk1ZWU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDA1MDAzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFmYjQyNjNiZGE4ZDdhOGZkNjViZDM1M2Y5OWNkNWMzYmEwNDBjZDJmOWI1NzQ5OWRjNzI2YzFkYjc3ODVkZDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3tS2wGv55hgIXOoXPL1zYE54b5QDBsmpIUOuWDnyWtA)
The text was updated successfully, but these errors were encountered: