Use embed/code with the theme css?

Hi guys,

I'm trying to type my text in an embed/code block, so that I can have a better control of the html semantics. The problem is that I'd like it to rely on the settings I have already established for my theme (for fonts etc.)
I tried to write some <head> stuffs fomr css code I knew, which didn't work, to link my text to the theme main.less file.

Does anyone maybe have some more hints about this?

Thank you for your attention,

R.C.

415 Views
Message 1 of 3
Report
1 Best Answer

Best Answer

Take a look at the HTML code for an existing paragraph element on your published website and copy that code. That should get you the right structure and classes so the default styling applies.

View Best Answer >

403 Views
Message 4 of 3
Report
2 REPLIES 2

Best Answer

Take a look at the HTML code for an existing paragraph element on your published website and copy that code. That should get you the right structure and classes so the default styling applies.

404 Views
Message 4 of 3
Report

That was a really pragmatic answer — and a spot on one, at that : it does the work just well, thank you ! I was trying a bit too hard, it didn't even cross my mind. Now I can have the semantic control I wanted, and benefit from the theme.

If anyone come here searching for the same thing, I'd add that what you code in the embed/code will take another form than the one the coded element will have once your site is published.

398 Views
Message 4 of 3
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.