Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Sidebox Spacing 2

    I asked a similar question before, but the answer that worked then doesn't apply now. I just need to lessen the space between my sidebox header and the content. My site is:

    http://www.wwfdbracelet.com

    See the spacing in the sidebox to the right? That was done by removing the <p></p> tags and replacing them with DIV tags.

    The box on the left is the one I want to fix. I want to get rid of that big space on the left between the title and the counter. Here is the content of my counter_sidebox_defines.php file:

    Code:
    <?php
    /**
     * counter 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: counter_sidebox.php 2007-05-26 kuroi $
     */
    
    define('BOX_HEADING_COUNTER_SIDEBOX', 'WWFD Hits:');
    define('TEXT_COUNTER_SIDEBOX', '<div><table width="133" border="0" cellspacing="0" cellpadding="3"><tr><td align="center"><a href="http://www.website-hit-counters.com/" target="_blank"><img src="http://www.website-hit-counters.com/cgi-bin/image.pl?URL=352587-5059" alt="website-hit-counters.com" title="website-hit-counters.com" border="0" ></a></td></tr><tr><td align="center"><font style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #330006; text-decoration: none;">Provided by <br><a href="http://www.website-hit-counters.com/" target="_blank" style="font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #555556; text-decoration: none;" title="website-hit-counters.com">website-hit-counters.com</a><br>hit counter site.</font></td></tr></table></div>');
    ?>

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sidebox Spacing 2

    Your source says you still have <p> tags in that box's content.

    Also, the navMain is overlapped a little in Firefox. You might need a little more height on navMain.

  3. #3
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Sidebox Spacing 2

    Hmmm, not sure how to fix that. What I posted above is exactly what's in my sidebox defines page and there are no <p> tags in that content

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Sidebox Spacing 2

    You need to look in the sidebox's module and tpl files as well. Probably tpl_counter_sidebox.php has the <p> tags.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Sidebox Spacing 2

    Check tpl_counter_sidebox.php. I'm not sure if the <p> tags there will affect anything, but they're coming from somewhere.

  6. #6
    Join Date
    Jun 2009
    Posts
    49
    Plugin Contributions
    0

    Default Re: Sidebox Spacing 2

    Great find. Changed them in the tpl_ file from <p> to <div> and we're good. Thanks a ton for the help!

 

 

Similar Threads

  1. spacing categories in sidebox
    By bloomingvine in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 May 2011, 07:55 AM
  2. Blank Sidebox spacing
    By gemadan96 in forum Addon Sideboxes
    Replies: 2
    Last Post: 20 Aug 2010, 01:31 AM
  3. Sidebox Spacing
    By igendreau in forum Basic Configuration
    Replies: 6
    Last Post: 10 Apr 2010, 03:56 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