Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2007
    Posts
    46
    Plugin Contributions
    0

    Default How can I get rid of the spaces between the banners in the side box?

    I want to get rid of the spaces between the multiple static banners in a side colomn. I want them to sit flush against each other. Any help with this?
    Thanks!

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

    Default Re: How can I get rid of the spaces between the banners in the side box?

    Any url to this?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2007
    Posts
    46
    Plugin Contributions
    0

    Default Re: How can I get rid of the spaces between the banners in the side box?

    http://www.diginirvana.com/zen_cart/store

    I'm using the banners as my navigation bar. This seemed like an easy way to deal with my left navigation issues.
    Any advice you have for me is great!

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

    Default Re: How can I get rid of the spaces between the banners in the side box?

    In the file includes/templates/template_default/sideboxes/tpl_banner_box_all.php - copy this file to your template in a folder named the same then open it and edit this part of the code. You can try removing both the <br /> but this may not work but one can be removed for sure
    Code:
    // add spacing between banners
        if ($banner_cnt < $banners_all->RecordCount()) {
          $content .= '<br /><br />';
        }
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Sep 2007
    Posts
    46
    Plugin Contributions
    0

    Default Re: How can I get rid of the spaces between the banners in the side box?

    That was exactly the code I was looking for! Thanks so much!

    There's only one problem...I thought I was using the override system correctly, but for some reason any documents from includes/templates/template_default that I copy into includes/templates/my_template does not work. The original files that I copied from classic work (css, images), but nothing else. I have changed all the permissions to 777, still no go.

    Anything else I could try? I placed the new file with the new code in includes/templates/my_template/sideboxes/tpl_banner_box_all.php.

    Thank you SO much for all your help!
    Carina

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: How can I get rid of the spaces between the banners in the side box?

    but for some reason any documents from includes/templates/template_default that I copy into includes/templates/my_template does not work.
    If copied from templates_default/common are you placing your edited file in /magic/common?

    Same for any others that are in specific folders - if you do not have the folder then create it
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 4
    Last Post: 12 Mar 2010, 09:56 PM
  2. How to get rid of the Search Box way at the Top?
    By Zook25 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Feb 2010, 05:32 PM
  3. How to get rid of the banners?
    By tanyaleann in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2008, 06:43 PM
  4. how to get rid of the search box on the top?
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Feb 2007, 12:51 AM

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