Giedriucha7 Posted May 24, 2013 Share Posted May 24, 2013 (edited) How can I remove free white space under my footer? website: www.igoods.lt Edited May 24, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 i checked your website and the main problem in this case is with: <img src="http://load.s3.amazonaws.com/pixel.gif" width="0" height="0"> you've got it in your page source code. Can you check footer.tpl file located in your theme dir? does this code exist there? Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 No, there is no code like this one. Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 should I paste my footer code? or it's not safe to doing that? Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 this is only template file, you can paste it Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 ... {if !$content_only} </div> <!-- Right --> <div id="right_column" class="column grid_2 omega"> {$HOOK_RIGHT_COLUMN} </div> </div> <!-- Footer --> </div> <div id="footer" style="width:100%; clear:both; display:block; overflow:hidden;"> <div style="width:980px; display:block; margin:auto; clear:both;"> {$HOOK_FOOTER} {if $PS_ALLOW_MOBILE_DEVICE} <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p> {/if} </div> </div> {/if} </body> </html> Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 okay, so the problem is somewhere else. Maybe you use module for amazon or something similar? Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 No, so I should find somewhere this code "<img src="http://load.s3.amazonaws.com/pixel.gif" width="0" height="0">" and delete? Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 that's correct. Maybe some of the widget that you use add this code? Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 I have no idea, maybe can you give me advice from where to start search? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted May 24, 2013 Share Posted May 24, 2013 i didnt see any space ???? were it is Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted May 24, 2013 Share Posted May 24, 2013 if u simply wanna remove put this on global.css #footer { color: rgb(255, 255, 255); background: none repeat scroll 0% 0% rgb(51, 51, 51); margin-bottom: -14px; Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 the free space gone, but all site in mess, where is the right place to put that code? Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted May 24, 2013 Share Posted May 24, 2013 open global.css search for #footer you will find this #footer { color: #ffff; background: #333; below background put this: margin-bottom: -14px; thats it Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 as i said everything is because you've got <imgsrc="http://load.s3.amazonaws.com/pixel.gif"width="0"height="0"> code in your footer ( http://i.imgur.com/62GwjHZ.png ) Remove it and everything will be fine. the white space is here: Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 this code didn't help, no footer at all now But thanks anyway I have now to do a big research Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 in my opinion you use widget which automatically add this to your footer, you should check widgets that you've got in your header. can you show list of non-default modules that you use? Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 i checked your scripts / widgets one by one, here is the solution: <script src="http://loadus.exelator.com/load/?p=388&g=001&c=20210&j=d&ctg=Other" async="" defer=""></script> you've got this in your header section this load script: var xl8image = document.createElement("img"); xl8image.src = "http://load.s3.amazonaws.com/pixel.gif"; xl8image.width="0"; xl8image.height="0"; document.body.appendChild(xl8image); Link to comment Share on other sites More sharing options...
Jiten rash (away) Posted May 24, 2013 Share Posted May 24, 2013 check for modules you have installed find footer.tpl or open themes footer.tpl Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 Thanks for help vekia, but I cant find anywhere this code.. Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 check for modules you have installed find footer.tpl or open themes footer.tpl he checked it, and there is no <img>, take a look on his post #6 Moreover, I posted solution for this problem above. Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 Thanks for help vekia, but I cant find anywhere this code.. As i said before this is probably a module. Just show me the module list attached to the "header" section. Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 there it is it is in my language, I hope it's will not be a problem Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 okay thanks so it is probably addshopers module. Can you turn it off (only for test) ? can you also paste here the header.tpl file from your theme directory? Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 (edited) Yes, it was addshopers module. Many thanks for your help vekia! Edited May 24, 2013 by Giedriucha7 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 24, 2013 Share Posted May 24, 2013 you're welcome :-) btw. you want to use addshopers module? if so, together we can try to modify it if you want :-) i marked this thread as solved if you've got any questions - feel free to continue discussion here regards Link to comment Share on other sites More sharing options...
Giedriucha7 Posted May 24, 2013 Author Share Posted May 24, 2013 No, I don't need addshopers module, thanks for your time Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now