X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   White area on home page-why? (https://forum.x-cart.com/showthread.php?t=51309)

tam10 12-14-2009 02:48 PM

White area on home page-why?
 
1 Attachment(s)
I got a big white area between the upper section of the main page to the featured products. Attached main page.
Can't find the reason.
If some one can help it will be most appreciated.

PhilJ 12-14-2009 03:56 PM

Re: White area on home page-why?
 
Somehow the layout's messed up... I'd first look at your welcome text ie. "4-Legged is the place to pamper your dog or cat... etc." to see if you've got a <div> out of place. Maybe try disabling the flyouts module to see of that does anything...

tam10 12-14-2009 05:22 PM

Re: White area on home page-why?
 
Quote:

Originally Posted by PhilJ
Somehow the layout's messed up... I'd first look at your welcome text ie. "4-Legged is the place to pamper your dog or cat... etc." to see if you've got a <div> out of place. Maybe try disabling the flyouts module to see of that does anything...


Thank you.

Disabled the menu - no change
Deleted the text - no change

This is the Welcome.tpl Maybe there is something ??


{*
$Id: welcome.tpl,v 1.33 2008/10/30 17:57:31 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div class="welcome-top">
<img src="{$ImagesDir}/fashion_mosaic/welcome.jpg" class="welcome" alt="" />
{if $categories && ($active_modules.Flyout_Menus || $config.General.root_categories eq "Y" || $subcategories)}
{include file="customer/categories.tpl" }
<img src="{$ImagesDir}/spacer.gif" alt="" class="empty-height-extender" />
{/if}
{$lng.txt_welcome}
</div>
{if $active_modules.Bestsellers && $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}<br />
{/if}
{include file="customer/main/featured.tpl"}
<img src="{$ImagesDir}/spacer.gif" class="menu-columns" alt="" />
<table cellspacing="0" class="menu-columns" summary="{$lng.lbl_special|escape}">
<tr>
<td>
{if $active_modules.Feature_Comparison && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{if $active_modules.Bestsellers}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y'}
{include file="partner/menu_affiliate.tpl" }
{/if}
</td>
<td>
{include file="customer/special.tpl"}
{include file="customer/help/menu.tpl"}
</td>
<td>
{include file="customer/news.tpl"}
{if $active_modules.Interneka}
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
</td>
<td class="contact-us">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y'}
{include file="modules/SnS_connector/button.tpl"}
{else}
<a href="help.php?section=contactus&amp;mode=update" class="contact-us"><img src="{$ImagesDir}/spacer.gif" alt="" /></a>
{/if}
</td>
</tr>
</table>

Pyro 12-14-2009 05:38 PM

Re: White area on home page-why?
 
I'm not sure if that is the issue or not; however, what you could do is try to restore the welcome.tpl to its original state and see if that fixes it. Be sure to back up your current version.

Dont forget to visit www.siteurl.com/cleanup.php after you restore the original file.


If that fixes the problem, you know it is something you changed.

tam10 12-14-2009 06:08 PM

Re: White area on home page-why?
 
Thanks.

Quote:

Originally Posted by Pyro
I'm not sure if that is the issue or not; however, what you could do is try to restore the welcome.tpl to its original state and see if that fixes it. Be sure to back up your current version.

Dont forget to visit www.siteurl.com/cleanup.php after you restore the original file.


If that fixes the problem, you know it is something you changed.


If i restore the welcome.tpl, for some reason i lose the menu.........

Any other suggestions

rgibson75 12-14-2009 06:30 PM

Re: White area on home page-why?
 
Install firebug into firefox. You can look at your css. Before the <p> for the welcome message there is a spacer image with the following css: img.empty-height-extender {
height:262px;
width:10px;


}
altskin.css (line 1064)

That image and css is creating the large white space.

tam10 12-14-2009 06:55 PM

Re: White area on home page-why?
 
Quote:

Originally Posted by rgibson75
Install firebug into firefox. You can look at your css. Before the <p> for the welcome message there is a spacer image with the following css: img.empty-height-extender {
height:262px;
width:10px;


}
altskin.css (line 1064)

That image and css is creating the large white space.


OK found it on alskin,css
what size shell i try in order to get rid of the blank area?

Thanks

tam10 12-14-2009 07:01 PM

Re: White area on home page-why?
 
Thanks all for trying to help
thanks
rgibson75 that was the problem.
i have changed it to 22 or so.

Appreciate your help

Tammy



rgibson 12-14-2009 07:06 PM

Re: White area on home page-why?
 
Not knowing your exact layout in welcome.tpl, you could try setting the height of the img.empty-height-extender to 1px; then testing your site to make sure nothing broke (test in IE and check altskin.IE7 & IE6 for the same property) or remove it from welcome.tpl since it looks like your layout doesn't need the extra space.

tam10 12-14-2009 07:11 PM

Re: White area on home page-why?
 
It's good on ie8 and FF
don't have the ie6 and 7
but you say i should change the size on these too anyways?

i see you using the4.3 too
are you happy with this version?

rgibson 12-14-2009 07:27 PM

Re: White area on home page-why?
 
I like the new AJAX functionality in 4.3 and the revised admin area. The inclusing of the AJAX minicart resolved several customer experience issues. However, some of the changes in the program logic has made integrating mods that were created for 4.2 entertaining. :)

If you can test in IE 6/7, or get some one to check for you, make the changes. If you need a cheap way to setup a IE6/7 environment, take a look at virtualbox.org, you can setup some virtual machines on your dev box with IE6 and IE7 for testing (if you have some old windows OS licenses to use). I found several rendering issues on my site, due to my layout changes, in 6, 7 & 8 under xp that were not caught testing in just ie8 with vista and win7.

tam10 12-14-2009 07:45 PM

Re: White area on home page-why?
 
i'll test it tomorrow on ie6. meantime the xcart said they have some issue with it and they;ll give me patch. Maybe you found it and no patch is needed.

Do you feel ok with the Visitor # as they appear on Google Analytic
because since upgrading it looks like Google catches only 1/5 of the total visitors
and i can't figure it why
I also use statcounter and it;s the same with them.
Strange


All times are GMT -8. The time now is 07:47 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.