Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    help question .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:

    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!
    John L.
    MultiMedia Designer

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: .centerColumn Border

    Quote Originally Posted by Lawbird123 View Post
    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:

    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.

    Code:
        <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>

 

 

Similar Threads

  1. added border none, still have border
    By shortmop in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Sep 2011, 02:46 PM
  2. How do I put border on some images and no border on others?
    By Sawhorse in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 6 Apr 2009, 01:18 AM
  3. .centerColumn
    By johnny43 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jan 2008, 05:21 PM
  4. Border in Firefox & Sidebox border missing
    By helpme in forum Basic Configuration
    Replies: 3
    Last Post: 17 Oct 2007, 04:18 AM
  5. border centerColumn
    By raimond in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 24 Mar 2007, 07:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg