Okay.. so wanted to post a few recommended changed to the CSS and the middleboxes_controller.php that are needed. The first change was pointed out a few months ago, but the details of the changes required were not very clear in that previous post..
So first the CSS changes..
Find this in the stylesheet:
Code:
#navColumnMiddleWrapper {
margin: auto;
overflow:hidden;
}
Replace it with this:
Code:
#navColumnMiddleWrapper1 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper2 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper3 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper4 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper5 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper6 {
margin: auto;
overflow:hidden;
}
#navColumnMiddleWrapper7 {
margin: auto;
overflow:hidden;
}
This corrects the middlebox wrapper ID's to match the way they are generated from the Middlebox Controller. This is required so that the rest of the stylesheet declarations will work correctly. (Especially if you want to use the class that will make all the middleboxes line up at the bottom)
In the includes/templates/YOUR_TEMPLATE/templates/tpl_middlebox_controller.php file change this:
Code:
<h2><?php echo constant('BOX_HEADING_MIDDLEBOX' . $box_no); ?></h2>
To this:
Code:
<h2 class="middleBoxHeading"><?php echo constant('BOX_HEADING_MIDDLEBOX' . $box_no); ?></h2>
This will add back the class that controls the format of the middlebox headers.
LOVE LOVE LOVE what Glenn has done to streamline and automate this!!
Bookmarks