Zen Cart Logo
Forums / Basic Configuration / Banners side by side

Banners side by side

Locked

Views: 1,320

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Apr 2010, 7:50 PM
#1
atsu avatar

atsu

New Zenner

Join Date:
Apr 2010
Posts:
4
Plugin Contributions:
0

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>
3 Apr 2010, 7:54 PM
#2
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Banners side by side

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

<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 Apr 2010, 8:52 PM
#3
atsu avatar

atsu

New Zenner

Join Date:
Apr 2010
Posts:
4
Plugin Contributions:
0

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 Apr 2010, 10:55 AM
#4
atsu avatar

atsu

New Zenner

Join Date:
Apr 2010
Posts:
4
Plugin Contributions:
0

Re: Banners side by side

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

4 Apr 2010, 3:38 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Banners side by side

Atsu:

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 ... :blush: