Forums / Templates, Stylesheets, Page Layout / .centerColumn Border

.centerColumn Border

Locked
Results 1 to 2 of 2
This thread is locked. New replies are disabled.
09 May 2007, 18:17
#1
lawbird123 avatar

lawbird123

Zen Follower

Join Date:
Sep 2006
Posts:
231
Plugin Contributions:
0

.centerColumn Border

Where in the tpl_main_page would i edit in order to put a css border around .centerColumn? I have tried editing this piece of code:

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

<?php
  if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>


and that's not letting me add the border. I am trying to add snappy borders around my main content and i have added the css already to the stylesheet and ive successfully added the html to the sideboxes (tpl_box_default_left.php.) Any help with this would be awesome!
09 May 2007, 20:09
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: .centerColumn Border

Lawbird123:

Where in the tpl_main_page would i edit in order to put a css border around .centerColumn? I have tried editing this piece of code:

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

<?php
  if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>


and that's not letting me add the border. I am trying to add snappy borders around my main content and i have added the css already to the stylesheet and ive successfully added the html to the sideboxes (tpl_box_default_left.php.) Any help with this would be awesome!


This is how I accomplished my border around the center column.

    <td valign="top">
<div id="centerOuterBorder">
<!-- bof  breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
    <div id="navBreadCrumbWrapper"><div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div></div>
<?php } ?>
<!-- eof breadcrumb -->

<?php
  if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

<?php
  if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>
</div>