Zen Follower
- Join Date:
- Mar 2013
- Location:
- Sydney, Australia
- Posts:
- 140
- Plugin Contributions:
- 0
Position categories sidebox differently to rest of site
I have re-positioned the categories sidebox (using css) so that it sits under the slideshow on the main page.
However on the rest of the site I want the categories sidebox to sit under the navigation bar.
At present its sitting in the same position as home page.
I have been playing around with custom/common/tpl_box_default_left.php
and given leftBoxContainer another class called leftBoxContainerIndex and added this css class (see below)
.leftBoxContainerIndex{position:relative;
top:303px;
left:0px;
margin: 0em;
border: 1px solid #9a9a9a;
border-bottom: 5px solid #000000;
margin-top: 1.5em;
}
Also I have tried putting another div in tpl_box_default_left.php like below, but that creates a duplicate categories box below existing categories box.
<!--// bof: <?php echo $box_id; ?> //--> <div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> <div class="leftBoxContainerIndex" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>"> <h3 class="leftBoxHeading" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3> <?php echo $content; ?> </div> <!--// eof: <?php echo $box_id; ?> //-->Any help would be appreciated.