Can I please get some help with PHP - I have no idea how to get this to work. I have the HTML below and would like some help with code so that it does the following.
-
If there is content in the left-column and no content in the right-column, make the left-column 100%.
-
If there is content in the left and right columns, make the left-column 75% and the right-column 25%.
<div class="container">
<div id="left-column">
<jdoc:include type="component" />
</div>
<div id="right-column">
<jdoc:include type="modules" name="col-right" style="well" />
</div>
</div>
Thanks in advance!