Image Block adding bootstrap class without my permission.

Permalink
Hi everyone, I have created a page template where I wanted to have two images beside each other so I have this code.

<div class="container">
<div class="col-md-6">

<?php
$a = new Area('men_services');
$a->enableGridContainer();
$a->display($c);
?>

</div>

<div class="col-md-6">

<?php
$a = new Area('women_services');
$a->enableGridContainer();
$a->display($c);
?>

</div>
</div>

Everything looks fine upto this point. Then when I drag an image block into one of the slots... I get an issue where it takes up the whole screen because that image has a container and a col-sm-12 which I don't want it to have. How can I remove that class from the image block? I went into the image folder to go edit it but I don't see it in there? Where is this bootstrap html coming from?!!

Cheers

View Replies:
ptdesigns replied on at Permalink Reply
NVM i fixed it by getting read of $a->enableGridContainer

Sorry I would like to remove this but I don't know how

Cheers
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi ptdesigns,

Self-answered questions do not need to be removed. This allows others to benefit from them in the future.