Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

White area on home page-why?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-14-2009, 02:48 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Red face White area on home page-why?

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.
Attached Files
File Type: doc Doc1.doc (206.0 KB, 174 views)
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #2  
Old 12-14-2009, 03:56 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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...
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 12-14-2009, 05:22 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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>
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #4  
Old 12-14-2009, 05:38 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default 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.
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #5  
Old 12-14-2009, 06:08 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #6  
Old 12-14-2009, 06:30 PM
 
rgibson75 rgibson75 is offline
 

Newbie
  
Join Date: Jul 2009
Posts: 3
 

Default 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.
__________________
Gold 4.3.0
Fancy Categories
Special Offers
Feature Comparison
Product Configurator
Modified neon-lights template
Reply With Quote
  #7  
Old 12-14-2009, 06:55 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #8  
Old 12-14-2009, 07:01 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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


__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
  #9  
Old 12-14-2009, 07:06 PM
 
rgibson rgibson is offline
 

Newbie
  
Join Date: Aug 2009
Posts: 7
 

Default 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.
__________________
Gold 4.3.0
Fancy Categories
Special Offers
Feature Comparison
Product Configurator
Modified neon-lights template
Reply With Quote
  #10  
Old 12-14-2009, 07:11 PM
  tam10's Avatar 
tam10 tam10 is offline
 

eXpert
  
Join Date: Mar 2007
Posts: 252
 

Default 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?
__________________
Tammy
x-cart gold + 4.7.2
x-cart 5.2.10

Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:38 AM.

   

 
X-Cart forums © 2001-2020