Stop joomla custom html module from putting text in a div...

I want to add a module to my page with this content:

"this is my module"

However, the module keeps getting saved as:

<div class="custom">this is my module</div>

... And, it's messing everything up!  How can I stop this from happening?
LVL 14
Who is Participating?
EMB01Connect With a Mentor Author Commented:
Thanks for your help so far.  I fixed it.  Had to go to:


Open the default.php file and remove the <div class="..."> and </div>.

Now, it doesn't wrap it in div...
Panagiotis SConnect With a Mentor web developer - designer Commented:
do you have module suffix in your custom module
if yes delete it for the new module
Amanda WatsonWeb DeveloperCommented:
..or alternatively you can add a module suffix and add some styling that you want
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

EMB01Author Commented:
I don't want any styling, I just want it to go like this:

<p>{loadposition mymodule}</p>

<p>This is what's in my module.</p>

However, it does this stupid thing:

<p><div class="custom">This is what's in my module.</div></p>

...  Which throws off my page.
Amanda WatsonConnect With a Mentor Web DeveloperCommented:
Oh ok, so you are trying to load a module into an article and within the article it adds a div into your loadposition

You could try going to PLUGIN MANAGER find CONTENT .LOAD MODULE then in the plugin parameters from the drop down list select a style of RAW OUTPUT

See if that helps
Panagiotis Sweb developer - designer Commented:
what exactly do you want to do?

EMB01Author Commented:
>> trying to load a module into an article and within the article it adds a div into your loadposition

Yes.  That's exactly correct.

However, when I tried this, it already says "raw output."  I attached a screenshot for your review.
EMB01Author Commented:
Thanks for help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.