Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    11
    Plugin Contributions
    0

    Default Aligning the blank sidebox

    Hi everyone

    I have put in a blank sidebox, but the content doesn't link up with the other sideboxes.

    See here at the button 'Community'.
    http://sew-world.com.au/

    The code for the blank_sidebox_defines.php is this below.

    Thanks in anticipation,
    Sandy

    ******************************************************

    <?php
    /**
    * blank sidebox definitions - text for inclusion in a new blank sidebox
    *
    * @package templateSystem
    * @copyright 2007 Kuroi Web Design
    * @copyright Portions Copyright 2003-2007 Zen Cart Development Team
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * @version $Id: blank_sidebox.php 2007-05-26 kuroi $
    */

    define('BOX_HEADING_BLANK_SIDEBOX', '');
    define('TEXT_BLANK_SIDEBOX', '


    <img src = "http://www.sewworld.com.au/sewworld2/community.jpg">




    ');

    ?>

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Aligning the blank sidebox

    Try making it the heading....
    Place your src between the single quotes
    Code:
    define('BOX_HEADING_BLANK_SIDEBOX', '');
    define('BOX_HEADING_BLANK_SIDEBOX', 'HERE');

  3. #3
    Join Date
    Nov 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Aligning the blank sidebox

    Thanks so much for the suggestion Kobra. That didn't work.

    I managed to work it out though. Here's my solution for anyone else with this problem.

    I editied the tpl_blank_sidebox.php file and took out the <p> tags like this:

    $content .= '</p>' . TEXT_BLANK_SIDEBOX . '</p>';
    $content .= '</p></p>';

    I'm sure it's not the proper way to do it, but removing the <p> tags completely just upset it.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Aligning the blank sidebox

    Did you search for the file that has "BOX_HEADING_BLANK_SIDEBOX"
    in it?

 

 

Similar Threads

  1. Center the Content of a Blank Sidebox
    By jack0r in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 30 Jun 2010, 05:22 PM
  2. Blank Sidebox - Where to change the content?
    By gamenano in forum General Questions
    Replies: 8
    Last Post: 6 Aug 2009, 03:55 AM
  3. Changing the size(length) of the Blank-Sidebox only.
    By Robbyn7 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Sep 2007, 08:17 PM
  4. Aligning Content in new sidebox
    By DVDTitan in forum Basic Configuration
    Replies: 11
    Last Post: 23 May 2007, 12:18 PM
  5. Sidebox text not aligning
    By raindark in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Feb 2007, 08:43 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