| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
White area on home page-why? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() 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.
__________________
Tammy x-cart gold + 4.7.2 x-cart 5.2.10 |
|||||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Quote:
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&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 |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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) |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Thanks.
Quote:
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 |
|||||||||
#6
|
|||||||
|
|||||||
![]() 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 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
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 |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() 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 |
|||||||||
#9
|
|||||||
|
|||||||
![]() 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 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() 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 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|