Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default How do I remove white space after adding Blank Sidebox?

    Quick question - just added the blank sidebox mod to www.bodykitsonline.co.uk, its at the top of the right hand colomn, basically how do i remove the white space around the content text.

    Thanks

  2. #2
    Join Date
    Feb 2005
    Posts
    56
    Plugin Contributions
    0

    Default Re: Blank Sidebox

    I just looked at your source code aned there seem to be a lot of <br>'s and <p>'s there.

    Open includes/templates/your template/sideboxes/the sidebox.php in your editor and remove a few at the top and bottom of the offending text. That should do it.

  3. #3
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: How do I remove white space after adding Blank Sidebox?

    Hi, unless im being stupid the only br's and p's i see are part of the address code, i can't locate any other coding in the files that could be causing the space.

    Thanks

  4. #4
    Join Date
    Feb 2005
    Posts
    56
    Plugin Contributions
    0

    Default Re: How do I remove white space after adding Blank Sidebox?

    div id="blanksideboxContent" class="sideBoxContent">
    <p><h3 align="center">SALES HOTLINE<br />
    01326 561802</h3>
    <p align="center">opening times: <br />
    MON - FRI: 8.30 - 5pm<br />
    SAT: 9am - 1pm<br />
    St Johns Business Park
    <br />Helston<br />
    Cornwall<br />
    TR13 8HN
    </p></p></div></div>

    The H3 could make the spacing for the first <p> very large. Maybe the last (blue) div can go too.

    As you say, the rest of the <br>'s are necessary.

  5. #5
    Join Date
    Mar 2007
    Location
    Cornwall - uk
    Posts
    464
    Plugin Contributions
    0

    Default Re: How do I remove white space after adding Blank Sidebox?

    Thank You. I found the code in the templates/custom/sideboxes/tpl_blank_sidebox.php folder like you originally said. It now says // If your site is monolingual, you can put the text right here as shown on line 20 (and nobody will know!)
    $content .= '' . TEXT_BLANK_SIDEBOX . '';
    $content .= '';

    $content .= '';

    The content coding i inserted was in functions/extra_functions/custom which i why i counld see the extra </p>

    Thanks


    Last edited by ben harry; 16 Oct 2009 at 07:39 PM.

 

 

Similar Threads

  1. v150 How do I remove the extra white space on my product page?
    By coreyalderin in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Aug 2012, 02:30 AM
  2. v150 Blank Sidebox Blank Page after adding code for livechat software
    By whatisthat456 in forum Basic Configuration
    Replies: 8
    Last Post: 3 May 2012, 10:40 AM
  3. Blank White Page After Adding A Product
    By mexman_uk in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Nov 2010, 06:02 PM
  4. Help, how to remove white space?
    By ray-the-otter in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 21 Oct 2010, 03:31 PM
  5. How to remove the white space?
    By koalabids in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jan 2009, 10:56 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR