Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Banners side by side

    I'm trying to get the side box to show banners side by side instead of top of each other. Is this possible?

    The code looks like this:

    <div class="rightBoxContainer" id="bannerboxall" style="width: 300px">
    <h3 class="rightBoxHeading" id="bannerboxallHeading">Sponsors</h3>
    <div id="bannerboxallContent" class="sideBoxContent centeredContent"><img src="images/banner.jpg" alt="Banner" title=" Banner " width="142" height="231"><br><br><img src="images/banner.jpg" alt="Banner2" title=" Banner2 " width="142" height="231"></div></div>

  2. #2
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: Banners side by side

    Not sure I know why or how you plan to fit it in, but this would do it

    Code:
    <div class="rightBoxContainer" id="bannerboxall" style="width: 300px">
    <h3 class="rightBoxHeading" id="bannerboxallHeading">Sponsors</h3>
    <div id="bannerboxallContent" class="sideBoxContent centeredContent"><img src="images/banner.jpg" alt="Banner" title=" Banner " width="142" height="231"> <img src="images/banner.jpg" alt="Banner2" title=" Banner2 " width="142" height="231"></div>

  3. #3
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Banners side by side

    True, but the problem is that I don't get why it lays those <br> tags in there? What file should I edit so it doesn't put them in there?

    Edit: and to clear it a abit. The code I posted is generated when I add that banner group to banner_box_all.

  4. #4
    Join Date
    Apr 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: Banners side by side

    Nevermind, I found it: ..includes\templates\YOUR_TEMPLATE\sideboxes\tpl_banner_box_all.php

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Banners side by side

    Quote Originally Posted by Atsu View Post
    True, but the problem is that I don't get why it lays those <br> tags in there? What file should I edit so it doesn't put them in there?
    Back in the olden days ... see ... um ... there was this little elf who er ... um ... wrote some really cool code ... see ... but didn't know much of um ... well anything about designer stuff ... and um ... sorta figured that for line breaks just stuff in those <br /> and ... um ... well ... such is the life of an elf ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Banners in side box
    By cdjohn31 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 May 2012, 04:39 PM
  2. Side Banners in selected categories
    By leest35 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Apr 2011, 03:49 PM
  3. Side Banners
    By rwslippey in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Feb 2010, 12:16 PM
  4. side box banners
    By thestampnomad in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jul 2009, 04:06 PM
  5. Adding banners to Side Box
    By mw4kids in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Mar 2009, 05:42 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