How to add html into post without affecting the whole site?

Posted in: Newspaper
Post count: 3

I’m trying to add html, ccs and JS (custom calculator) inside the wp post, and it’s affecting the whole site, how can I make so the code stays within the html block and won’t affect the whole site? Here’s sample post.

  • This topic was modified 2 years by notifyph.
Post count: 27744

Hi,

You can try to use the custom HTML element from the Gutenberg editor.

Thank you!

Post count: 3

I did that. It still affects the title and my custom html widget uses the theme font for some reason.

Post count: 27744

Hi,

Please provide some screenshots of what is affected.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.