no_wrapper Hubl Variables for Custom Page Module

@MarcusZeal, I don’t think you can, but you can add a custom class to the module itself which would apply to the outer wrapper. You can also wrap the module in code from the module settings in a drag and drop template.

You can apply ‘no_wrapper=True’ to modules in code form. I don’t know if this works for custom modules, or how you would apply a code snippet to a template now that the custom html and custom hubl modules were removed. This only removes the span tag beween the module code and the outer div, and I not sure if this even works on custom modules now to begin with.

Why are you needing to remove the wrapper? If it is because you are trying to allow some script to target the inner html of the wrapper, say for a slider, then your off base. The new custom module tools have repeater fields. You should be building your entire module in one peice so that you have control over all of the markup.

Need help? Hire Us Here