Use Bubble-defined formatting in HTML Element

I understand that the HTML element is often used to embed code and iframes. But my application for the HTML element is so boringly basic that I couldn’t imagine that it seems so difficult to find an answer how to do this…

I want to import blog articles from a WordPress installation. The body text is in HTML and has the plain standard HTML tags like <p>, <h2>, <ol> <li> etc. Nothing fancy at all.

What I want seems very close at hand too: I want this HTML content to look like the rest of the Bubble App. With other words, I want p text, h2 titles etc. to be defined by some overall css styles, similar to the ones I set in Bubble for the Text element.

I am convinced that this must be possible in a straightforward way… can someone give me a hint?

(I found several posts with a similar question but didn’t seem to find an answer)

Thanks & have a bubbleful day!

Create a CSS with styles that matches the Bubble app. And apply it to your blog content in HTML element.

Alternatively, you can add the same CSS classes that your Bubble app uses. There’s a post about how to get the class names of your own Bubble editor styles.

Thanks @net-tt and @ihsanzainal84 for your hints!