Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Right Side Column Will Not Go Away in IE only

Right Side Column Will Not Go Away in IE only

Locked

Views: 2,282

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
8 Jun 2007, 1:59 PM
#1
weddingpearls avatar

weddingpearls

New Zenner

Join Date:
Apr 2007
Location:
United States, Utah
Posts:
13
Plugin Contributions:
0

Right Side Column Will Not Go Away in IE only

Hello everyone,

I'm having a problem with my new zen cart site.

When I look at www.valorsinc.com on firefox it looks just the way I want it.
It only has two columns. But when I look at www.valorsinc.com with Internet Explorer the pictures are all pushed together because there are three columns (the third column is blank).

In the admin I made the right column 0px. I also turned the Right Column Status - Global setting to Column Right is always off.

There is no right column when I use firefox but there is a blank right column and a squished middle column when I use Internet Explorer. What do I need to do to fix this?

Thanks for helping,
Jacob

8 Jun 2007, 2:35 PM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Right Side Column Will Not Go Away in IE only

Jacob, if you notice, even in FF, the page is too wide......see the scroll bar at the bottom? Try setting Main Wrapper to 85%, to make it look like:

#mainWrapper {
text-align: left;
width: 85%;
vertical-align: top;
}

Not sure that will take care of IEs' problem, but ya' never know.

8 Jun 2007, 3:04 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Right Side Column Will Not Go Away in IE only

Where did you get that template? It is a mess! you need to talk to whoever designed it.

8 Jun 2007, 8:58 PM
#4
weddingpearls avatar

weddingpearls

New Zenner

Join Date:
Apr 2007
Location:
United States, Utah
Posts:
13
Plugin Contributions:
0

Re: Right Side Column Will Not Go Away in IE only

Hello,

Get em fast: Thanks for the idea. I tried changing the mainwrapper bigger and smaller than 100%. It didn't solve the problem but thanks for the suggestion.

Kim: I've tried contacting the person who did the template for me and he is no where to be found. Do you know what file inside his template I should look at to solve this problem?

Thanks so much!

Jacob

8 Jun 2007, 9:33 PM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Right Side Column Will Not Go Away in IE only

O.k., Jacob......just noticed that editing the main wrapper on your site with FF, DID take away the scrollbar at the bottom, making the site not overflow on the sides, but, of course, I couldn't test this in IE. Sorry it didn't work.
Was it someone in this forum who designed your template?

8 Jun 2007, 10:08 PM
#6
weddingpearls avatar

weddingpearls

New Zenner

Join Date:
Apr 2007
Location:
United States, Utah
Posts:
13
Plugin Contributions:
0

Re: Right Side Column Will Not Go Away in IE only

Get em fast,

No, the person that created the template is not part of this forum. I found them on a freelance site.

Jacob

8 Jun 2007, 10:18 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Right Side Column Will Not Go Away in IE only

Another thing you might do, is put that main wrapper back to 85% (to take care of the scroll issue), then, in your stylesheet, look for the line: .columnRight {} , and edit to look like: .columnRight {display: none;}. That should make the right column go away......for good.

8 Jun 2007, 10:27 PM
#8
weddingpearls avatar

weddingpearls

New Zenner

Join Date:
Apr 2007
Location:
United States, Utah
Posts:
13
Plugin Contributions:
0

Re: Right Side Column Will Not Go Away in IE only

I don't see a scroll bar on my screen on ff or ie.

I checked the css and made the change but it is still not working.

In the template there is a file that is named tpl_box_default_right.php. Could this be the file I need to change? It looks like this:

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [email protected] so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: tpl_box_default_right.php 2625 2005-12-20 02:13:19Z drbyte $ // // choose box images based on box position if ($title_link) { $title = '<a href="' . zen_href_link($title_link) . '" style="color:#BE533C">' . $title . BOX_HEADING_LINKS . '</a>'; } // ?> <!--// bof: <?php echo $box_id; ?> //--> <!-- <div class="left_cont1" ><div class="head_txt"><?=zen_image(DIR_WS_TEMPLATE.'images/b1.jpg', '', '', '', 'align=top style="margin:-1px 7px 0px 0px "').$title?></div></div>--> <div class="right_txt"><?=$content?></div> <br style="line-height:2px;"> <!--// eof: <?php echo $box_id; ?> //-->