Search
Other Articles Anywhere questions
Forum

Text outside H tag

Thomas Thrane's Avatar Thomas Thrane
Hi
I have insert this in a Custom Module:


{article id="36"}
<div class="colwrapper">
<div class="col col01">[image-intro]</div>
<div class="col col02">
<h3>[text]</h3>
[navn],[firma]</div>
</div>
{/article}

But the result is this - the text is outside the H tag?

Any great ideas on how to solve this?

Kind
Regards
Thomas

Peter van Westen's Avatar Peter van Westen ADMIN
Your article text will contain html tags that are not permitted inside the <h3> tag, like the <p> tags.
You should remove any html tags in the output, like:
[text html="false"]
See: docs4.regularlabs.com/articlesanywhere/data-tags/text-options

If you need the html tags inside the article - like those - field-value spans, then you shouldn't be placing it in a <h3> tag.
If that is just for styling purposes (ie: make the text bold and bigger), use css via a div with a class.
Please post a rating at the Joomla! Extensions Directory
Thomas Thrane's Avatar Thomas Thrane
Thank you so much, Peter - just what I had missed!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription