Hi everyone!
I'm having a problem and am at the hair-ripping stage.
I am trying to configure my Mambo template's frontpage.
My template is rhuk planetfall, and there is a main content space (that I believe is called content_box), and 2 columns of modules.
I got rid of 1 column of modules because I didn't need it, and I wanted more space for my content_box.
BUT, the wretched thing is staying at its old width, when there were 2 columns there.
I made sure that all my unpublished modules were not still positioned in the column that is gone.
I have also extensively tried to change the code in Dreamweaver, in both my CSS file and my index.php file.
In my index.php file, this is one thing I tried to do:
<td valign="top" class="content_box">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr valign="top">
I changed the 100% value to the value I want (644), and that didn't work.
Then, I spotted the following line of code:
<!-- main content area -->
<div class="contentblock" id="contentblock" style="width:<?php echo 635 - ( 151 * ( $collspan_offset-1 ) ) ?>">
There is a red line under the code in Dreamweaver, starting at width and ending at the >immediately after the last ? (which means that there is an error in the code, but I don't know enough to fix it).
My question is this:
Does the code mean that there is a formula to calculate the value of the width for my content_box?
635 is close-ish to the 644 I want for the width of my content_box.
151 is I think the width of 1 column of modules.
Does the formula take into account how many columns I have and distributes the remaining width to my content_box accordingly?
But that doesn't seem to make sense, because the total width of my template is 798, not 635; so there is no sense in retracting the width of 1 column to the width of my content_box, is there?
I have tried everything I could think of, I tried changing the width values in my CSS sheet, I tried changing values in my index.php, but NOTHING IS WORKING!!!
Does someone have any idea what that line of code means, and how I can change the code to make it do what I want it to do?
It should be simple to change the width of 1 component of my frontpage, shouldn't it?