Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    87
    Plugin Contributions
    0

    Default Images below sideboxes

    Hi
    I want to place an image below the sideboxes in both the right and left columns. Could someone tell me which file it is best to put these in, the column-right/column-left.php files or the tpl_main_page.php? Or maybe even somewhere else?

    Thanks for any help.
    RoPey

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Images below sideboxes

    It's best to put them in your stylesheet. Just add some padding to the bottom of the sideboxes to make space and then add your images as background images aligned to the bottom of each box.

    Here's an example
    .leftBoxContainer, .rightBoxContainer {
    margin: 0em;
    border: 1px solid #9a9a9a;
    border-bottom: 5px solid #336633;
    margin-top: 1.5em;
    padding-bottom:45px;
    background: url(../images/box_bottom_image.gif) bottom center no-repeat;
    }
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Oct 2006
    Posts
    87
    Plugin Contributions
    0

    Default Re: Images below sideboxes

    Quote Originally Posted by kuroi View Post
    It's best to put them in your stylesheet. Just add some padding to the bottom of the sideboxes to make space and then add your images as background images aligned to the bottom of each box.

    Here's an example
    Thanks for the reply! However I obviously didn't word my question correctly. What I'm after is placing an image underneath the line of sideboxes. I want to put the Protx secured image on one side and the card images on the other. Sorry.

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Images below sideboxes

    Same approach would work, but you would apply it to the navColumnOneWrapper and navColumnTwoWrapper instead. Alternatively you could use the blank sidebox mod to create two additional sideboxes and position them via the Admin.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Nov 2003
    Location
    UK
    Posts
    105
    Plugin Contributions
    0

    Default Re: Images below sideboxes

    If I've understood you correctly then you should open

    templates/YOUR_TEMPLATE/common/tpl_main_page.php and locate

    Code:
    <?php
     /**
      * prepares and displays left column sideboxes
      *
      */
    ?>
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
    and insert your image..

    Code:
    /**
      * prepares and displays left column sideboxes
      *
      */
    ?>
    <div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div><br /><br />HERE</td>
    and do the same for the right column (you may also wish to put it inside a new <div> to sort our positioning, etc.)

 

 

Similar Threads

  1. Replies: 4
    Last Post: 24 Oct 2015, 05:54 AM
  2. Additional Product Images - Add title below all images
    By sports guy in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Dec 2011, 05:54 AM
  3. I'm trying to put my SSL badge below my sideboxes
    By strugglingnovice in forum General Questions
    Replies: 12
    Last Post: 8 Dec 2011, 01:06 AM
  4. Images below sideboxes
    By NowAge in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jul 2011, 03:54 PM
  5. Color below and above sideboxes - Custom Template
    By AirsoftOutfitter in forum Basic Configuration
    Replies: 7
    Last Post: 8 Aug 2010, 01:13 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