ht-shop Posted November 4, 2011 Share Posted November 4, 2011 Hi to the community! I am trying to build a shop but I have a problem with my index page. Something goes wrong yesterday and now the footer is not aligned to the body page and the background white color has gone. As i can see in firebug, in index page the footer is not inside the body, div id=page. In the other pages such as the "contact", everything is fine... Could you please help me out to fix it? The page is: ht-shop.eu . Thank you. Link to comment Share on other sites More sharing options...
ht-shop Posted November 4, 2011 Author Share Posted November 4, 2011 Now i fixed the index and the other pages have no background color.... Link to comment Share on other sites More sharing options...
GrzegorzZ Posted November 4, 2011 Share Posted November 4, 2011 Hello there, You got error in your syntax. Look at http://validator.w3....=Inline&group=0 at the bottom you have error: end tag for element "div" which is not open You protably removed a <div> tak wrongly. Remember that for example one <div> can be opened in header.tpl, and to find its closing tag you need to go to footer.tpl. Maybe you removed something from header and did not clear footer? Regardless of where is mistake, you need to find which </div> is usless. PS: If you can't trace it, turn off all modules in administration panel, always less html generated in output. However, if you disable modules and error disappears, that means template of one of your modules is wrongly nested. Hope it helps. Link to comment Share on other sites More sharing options...
ht-shop Posted November 4, 2011 Author Share Posted November 4, 2011 Hi GacekSSJ4 and thank so much for your reply and your helpful link! I saw the errors but i cant find this <div>... I saw the header and the footer. footer: {if !$content_only} </div> </div> <!-- Footer --> <div id="footer"> {$HOOK_FOOTER}<br /> <a target="_blank" href="http://www.health-technologies.gr/">2011 Health Technologies</a> </div> </div> {/if} </body> </html> I tried several ways and when i delete one of the first two </div> the index page is okay, but the other categories such as Κατασκευαστές, loose its white background!.. Any idea? Link to comment Share on other sites More sharing options...
ht-shop Posted November 4, 2011 Author Share Posted November 4, 2011 I think that i made it but now the blockcart lost... Jesus.... Link to comment Share on other sites More sharing options...
ht-shop Posted November 4, 2011 Author Share Posted November 4, 2011 Anyone? In back office everything is okay with the blockcart. But its not shown in the shop... Link to comment Share on other sites More sharing options...
GrzegorzZ Posted November 4, 2011 Share Posted November 4, 2011 If you want to try some more then: If Category is good and manufacturers for example is good, Then Header and footer files are ok. and Index.tpl is bad If it wont help then pack to rar categories.tpl, index.tpl header.tp. and footer.tpl. will try to help Link to comment Share on other sites More sharing options...
Recommended Posts